ObjectMaterializer<TDataReader>.CreateOrderedEnumerable<TElement> Method (IEnumerable<TElement>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Creates an ordered sequence from a specified collection of values.

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

public static IOrderedEnumerable<TElement> CreateOrderedEnumerable<TElement>(
	IEnumerable<TElement> items
)

Parameters

items
Type: System.Collections.Generic.IEnumerable<TElement>

The values to put in the ordered sequence.

Return Value

Type: System.Linq.IOrderedEnumerable<TElement>

An ordered sequence that contains the specified values.

Type Parameters

TElement

The type of the values in the ordered sequence.

.NET Framework
Available since 3.5
Return to top
Show: