点击或拖拽改变大小

DbDataSource.ApplySort 方法

X#
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
查看代码

参数

property
类型:PropertyDescriptor
The PropertyDescriptor to sort by.
direction
类型:ListSortDirection
One of the ListSortDirection values.

实现

ApplySort(PropertyDescriptor, ListSortDirection)
异常
异常条件
NotSupportedExceptionSupportsSorting is .
备注
This method will create an index on the underlying workarea to sort the rows
参见