ObjectMaterializer<TDataReader>.Convert<TOutput> Method (IEnumerable)

 

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

Changes the type of each element in a specified sequence.

Namespace:   System.Data.Linq.SqlClient.Implementation
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public static IEnumerable<TOutput> Convert<TOutput>(
	IEnumerable source
)

Parameters

source
Type: System.Collections.IEnumerable

A sequence that contains elements to convert.

Return Value

Type: System.Collections.Generic.IEnumerable<TOutput>

A sequence that contains the type-converted elements.

Type Parameters

TOutput

The type to convert the elements to.

.NET Framework
Available since 3.5
Return to top
Show: