BindingSource.SortProperty 屬性

定義

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

public:
 virtual property System::ComponentModel::PropertyDescriptor ^ SortProperty { System::ComponentModel::PropertyDescriptor ^ get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.ComponentModel.PropertyDescriptor SortProperty { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SortProperty : System.ComponentModel.PropertyDescriptor
Public Overridable ReadOnly Property SortProperty As PropertyDescriptor

屬性值

PropertyDescriptor

如果清單是 IBindingList,則為用於排序的 PropertyDescriptor,否則為 nullIf the list is an IBindingList, the PropertyDescriptor that is being used for sorting; otherwise, null.

實作

屬性

備註

如果清單不是 IBindingList ,一定會傳回 SortProperty nullIf the list is not an IBindingList, SortProperty always returns null.

適用於