IOrderedQueryable<T> IOrderedQueryable<T> IOrderedQueryable<T> IOrderedQueryable<T> Interface


Represents the result of a sorting operation.

generic <typename T>
public interface class IOrderedQueryable : System::Collections::Generic::IEnumerable<T>, System::Linq::IOrderedQueryable, System::Linq::IQueryable<T>
public interface IOrderedQueryable<out T> : System.Collections.Generic.IEnumerable<out T>, System.Linq.IOrderedQueryable, System.Linq.IQueryable<out T>
type IOrderedQueryable<'T> = interface
    interface IQueryable<'T>
    interface IOrderedQueryable
    interface seq<'T>
    interface IQueryable
    interface IEnumerable
Public Interface IOrderedQueryable(Of Out T)
Implements IEnumerable(Of Out T), IOrderedQueryable, IQueryable(Of Out T)

Type Parameters


The type of the content of the data source.



The IOrderedQueryable<T> 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<TElement>(Expression) is called and passed an expression tree that represents a sorting query, the resulting IQueryable<T> object must be of a type that implements IOrderedQueryable<T>.

For more information about how to create your own LINQ provider, see LINQ: Building an IQueryable Provider on MSDN Blogs.


GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)


ElementType ElementType ElementType 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 Expression Expression Expression

Gets the expression tree that is associated with the instance of IQueryable.

(Inherited from IQueryable)

Provider Provider Provider Provider

Gets the query provider that is associated with this data source.

(Inherited from IQueryable)

Applies to

See also