OrderByExpression.GetQueryable Method (IQueryable)

.NET Framework (current version)
 
System_CAPS_noteNote

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
)

Parameters

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
Show: