OrderByExpression.GetQueryable Method (IQueryable)

.NET Framework (current version)

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

Applies a sort expression to an IQueryable object based on a DataField value and a Direction value.

Namespace:   System.Web.UI.WebControls.Expressions
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public override IQueryable GetQueryable(
	IQueryable source


Type: System.Linq.IQueryable

Specifies the data source to apply the sort to.

Return Value

Type: System.Linq.IQueryable

An instance of the data source that the expression was applied to.

.NET Framework
Available since 4.0
Return to top