AssociationProvider.GetSortExpression(ColumnProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the sort expression for the column that is represented by the association.
public:
virtual System::String ^ GetSortExpression(System::Web::DynamicData::ModelProviders::ColumnProvider ^ sortColumn);
public virtual string GetSortExpression (System.Web.DynamicData.ModelProviders.ColumnProvider sortColumn);
abstract member GetSortExpression : System.Web.DynamicData.ModelProviders.ColumnProvider -> string
override this.GetSortExpression : System.Web.DynamicData.ModelProviders.ColumnProvider -> string
Public Overridable Function GetSortExpression (sortColumn As ColumnProvider) As String
Parameters
- sortColumn
- ColumnProvider
The column to sort the entity by.
Returns
If IsSortable returns true
, the sort expression for the column that is represented by the association; otherwise, null
.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.