DbDataSource.ApplySort Method | |
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
Namespace:
XSharp
Assembly:
XSharp.Data (in XSharp.Data.dll) Version: 2.21
Syntax METHOD ApplySort(
property AS PropertyDescriptor,
direction AS ListSortDirection
) AS VOID
public void ApplySort(
PropertyDescriptor property,
ListSortDirection direction
)
Request Example
View SourceParameters
- property
- Type: PropertyDescriptor
The PropertyDescriptor to sort by. - direction
- Type: ListSortDirection
One of the ListSortDirection values.
Implements
ApplySort(PropertyDescriptor, ListSortDirection)Exceptions Exception | Condition |
---|
NotSupportedException | SupportsSorting is . |
Remarks This method will create an index on the underlying workarea to sort the rows
See Also