IBindingList.SortProperty Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the PropertyDescriptor that is being used for sorting.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

PropertyDescriptor SortProperty { get; }

Property Value

Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor that is being used for sorting.

Exception Condition
NotSupportedException

SupportsSorting is false.

This property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

.NET Framework
Available since 1.1
Return to top
Show: