AssociationProvider::GetSortExpression Method (ColumnProvider^)

 

Returns the sort expression for the column that is represented by the association.

Namespace:   System.Web.DynamicData.ModelProviders
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
virtual String^ GetSortExpression(
	ColumnProvider^ sortColumn
)

Parameters

sortColumn
Type: System.Web.DynamicData.ModelProviders::ColumnProvider^

The column to sort the entity by.

Return Value

Type: System::String^

If IsSortable returns true, the sort expression for the column that is represented by the association; otherwise, null.

.NET Framework
Available since 3.5
Return to top
Show: