OrderByExpression::GetQueryable Method (IQueryable^)

.NET Framework (current version)
 

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:
virtual IQueryable^ GetQueryable(
	IQueryable^ source
) override

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: