IOrderedQueryable Interface
Represents the result of a sorting operation.
Assembly: System.Core (in System.Core.dll)
The IOrderedQueryable type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | ElementType | Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed. (Inherited from IQueryable.) |
![]() ![]() | Expression | Gets the expression tree that is associated with the instance of IQueryable. (Inherited from IQueryable.) |
![]() ![]() | Provider | Gets the query provider that is associated with this data source. (Inherited from IQueryable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() ![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() ![]() | Cast<TResult>() | Overloaded. Converts the elements of an IQueryable to the specified type. (Defined by Queryable.) |
![]() ![]() | Cast<TResult>() | Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() ![]() | OfType<TResult>() | Overloaded. Filters the elements of an IQueryable based on a specified type. (Defined by Queryable.) |
![]() ![]() | OfType<TResult>() | Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
The IOrderedQueryable interface is intended for implementation by query providers.
This interface represents the result of a sorting query that calls the method(s) OrderBy, OrderByDescending, ThenBy or ThenByDescending. When CreateQuery is called and passed an expression tree that represents a sorting query, the resulting IQueryable object must be of a type that implements IOrderedQueryable.
For more information about how to create your own LINQ provider, see LINQ: Building an IQueryable Provider on MSDN Blogs.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

