ObjectMaterializer<TDataReader>.Convert<TOutput> Method

Definition

Changes the type of each element in a specified sequence.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
generic <typename TOutput>
 static System::Collections::Generic::IEnumerable<TOutput> ^ Convert(System::Collections::IEnumerable ^ source);
public static System.Collections.Generic.IEnumerable<TOutput> Convert<TOutput> (System.Collections.IEnumerable source);
static member Convert : System.Collections.IEnumerable -> seq<'Output>
Public Shared Function Convert(Of TOutput) (source As IEnumerable) As IEnumerable(Of TOutput)
Public Shared Iterator Function Convert(Of TOutput) (source As IEnumerable) As IEnumerable(Of TOutput)

Type Parameters

TOutput

The type to convert the elements to.

Parameters

source
IEnumerable

A sequence that contains elements to convert.

Returns

IEnumerable<TOutput>

A sequence that contains the type-converted elements.

Applies to