IOrderedQueryable Interface

IOrderedQueryable Interface

Updated: September 2008

Represents the result of a sorting operation.

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

public interface IOrderedQueryable : IQueryable, 

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 Walkthrough: Creating an IQueryable LINQ Provider in the MSDN Library and LINQ: Building an IQueryable Provider on MSDN Blogs.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5




September 2008

Added links about custom query providers.

Customer feedback.

Community Additions

© 2015 Microsoft