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)

abstract GetSortExpression : 
        sortColumn:ColumnProvider -> string
override GetSortExpression : 
        sortColumn:ColumnProvider -> string

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: