DbDataSource.ApplySort 方法 | |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
命名空间:
XSharp
程序集:
XSharp.Data (在 XSharp.Data.dll 中) 版本:2.22 GA
语法 METHOD ApplySort(
property AS PropertyDescriptor,
direction AS ListSortDirection
) AS VOID
public void ApplySort(
PropertyDescriptor property,
ListSortDirection direction
)
查看代码参数
- property
- 类型:PropertyDescriptor
The PropertyDescriptor to sort by. - direction
- 类型:ListSortDirection
One of the ListSortDirection values.
实现
ApplySort(PropertyDescriptor, ListSortDirection)异常 异常 | 条件 |
---|
NotSupportedException | SupportsSorting is . |
备注 This method will create an index on the underlying workarea to sort the rows
参见