[This is preliminary documentation and is subject to change.]
When overriden in derived class sorts the list based on a PropertyDescriptor and a ListSortDirection.
Namespace: Tools.CollectionsT.GenericTAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Never)] protected abstract void ApplySort( PropertyDescriptor property, ListSortDirection direction ) |
| Visual Basic |
|---|
<EditorBrowsableAttribute(EditorBrowsableState.Never)> _ Protected MustOverride Sub ApplySort ( _ property As PropertyDescriptor, _ direction As ListSortDirection _ ) |
| Visual C++ |
|---|
[EditorBrowsableAttribute(EditorBrowsableState::Never)] protected: virtual void ApplySort( PropertyDescriptor^ property, ListSortDirection direction ) abstract |
| F# |
|---|
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>] abstract ApplySort : property:PropertyDescriptor * direction:ListSortDirection -> unit |
| JScript |
|---|
protected abstract function ApplySort( property : PropertyDescriptor, direction : ListSortDirection ) |
Parameters
- property
- Type: System.ComponentModel..::..PropertyDescriptor
The PropertyDescriptor to sort by.
- direction
- Type: System.ComponentModel..::..ListSortDirection
One of the ListSortDirection values.
Implements
IBindingList..::..ApplySort(PropertyDescriptor, ListSortDirection)
Exceptions
| Exception | Condition |
|---|---|
| System..::..NotSupportedException | SupportsSorting is false. |