IBindingList.SortProperty Property

Definition

取得已經用來排序的 PropertyDescriptorGets the PropertyDescriptor that is being used for sorting.

public:
 property System::ComponentModel::PropertyDescriptor ^ SortProperty { System::ComponentModel::PropertyDescriptor ^ get(); };
public System.ComponentModel.PropertyDescriptor SortProperty { get; }
member this.SortProperty : System.ComponentModel.PropertyDescriptor
Public ReadOnly Property SortProperty As PropertyDescriptor

Property Value

PropertyDescriptor

已經用來排序的 PropertyDescriptorThe PropertyDescriptor that is being used for sorting.

Exceptions

Remarks

如果 SupportsSortingtrue,則支援此屬性。否則,這個屬性會擲回 NotSupportedExceptionThis property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

Applies to