Extension.ToAttributeValueCollection<TSource> Method

An extension method that converts IEnumerable to AttributeValueCollection
<Extension()> _ 
Public Shared Function ToAttributeValueCollection(Of _ 
TSource)( _ 
ByVal source As IEnumerable(Of TSource), _ 
ByVal id_selector As Func(Of TSource, EntityID), _ 
ByVal value_selector As Func(Of TSource, AttributeValue) _ 
) As AttributeValueCollection
This language is not supported or no code example is available.
public static AttributeValueCollection ToAttributeValueCollection<TSource>( 
this IEnumerable<TSource> source
Func<TSource, EntityID> id_selector
Func<TSource, AttributeValue> value_selector 
)
This language is not supported or no code example is available.
[Extension()] 
generic<typename TSource> 
public:  
static AttributeValueCollection^ ToAttributeValueCollection( 
IEnumerable<TSource>^ source
Func<TSource, EntityID>^ id_selector
Func<TSource, AttributeValue>^ value_selector 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Type Parameters

TSource

<default>

Parameters

source
IEnumerable<TSource>

<default>

id_selector
Func<TSource, EntityID>

<default>

value_selector
Func<TSource, AttributeValue>

<default>

Return Value

AttributeValueCollection

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition