Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IOrderedQueryable Interface


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

Represents the result of a sorting operation.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

public interface IOrderedQueryable : IQueryable, IEnumerable


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.)


Gets the expression tree that is associated with the instance of IQueryable.(Inherited from IQueryable.)


Gets the query provider that is associated with this data source.(Inherited from IQueryable.)


Returns an enumerator that iterates through a collection.(Inherited from IEnumerable.)


Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)


Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)


Converts the elements of an IQueryable to the specified type.(Defined by Queryable.)


Filters the elements of an IQueryable based on a specified type.(Defined by Queryable.)

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Windows Phone
Available since 8.1
Return to top
© 2018 Microsoft