SortableBindingList<T>.ApplySortCore Method
Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Protected Overrides Sub ApplySortCore ( _
prop As PropertyDescriptor, _
direction As ListSortDirection _
)
'Usage
Dim prop As PropertyDescriptor
Dim direction As ListSortDirection
Me.ApplySortCore(prop, direction)
protected override void ApplySortCore(
PropertyDescriptor prop,
ListSortDirection direction
)
protected:
virtual void ApplySortCore(
PropertyDescriptor^ prop,
ListSortDirection direction
) override
abstract ApplySortCore :
prop:PropertyDescriptor *
direction:ListSortDirection -> unit
override ApplySortCore :
prop:PropertyDescriptor *
direction:ListSortDirection -> unit
protected override function ApplySortCore(
prop : PropertyDescriptor,
direction : ListSortDirection
)
Parameters
- prop
Type: System.ComponentModel.PropertyDescriptor
A PropertyDescriptor that specifies the property to sort on.
- direction
Type: System.ComponentModel.ListSortDirection
A ListSortDirection value.