DataSourceSelectArguments.SortExpression 属性
定义
获取或设置一个表达式,数据源视图使用该表达式对 Select(DataSourceSelectArguments, DataSourceViewSelectCallback) 方法检索的数据进行排序。Gets or sets an expression that the data source view uses to sort the data retrieved by the Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method.
public:
property System::String ^ SortExpression { System::String ^ get(); void set(System::String ^ value); };
public string SortExpression { get; set; }
member this.SortExpression : string with get, set
Public Property SortExpression As String
属性值
一个字符串,数据源视图使用该字符串对 Select(DataSourceSelectArguments, DataSourceViewSelectCallback) 方法检索的数据进行排序。A string that the data source view uses to sort data retrieved by the Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method. 如果未设置排序表达式,则返回 Empty。Empty is returned if sort expression has not been set.
注解
SortExpression属性支持排序方案。The SortExpression property supports sorting scenarios.