BindingSource.SortDescriptions 屬性

定義

取得套用至資料來源的排序描述集合。Gets the collection of sort descriptions applied to the data source.

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

屬性值

ListSortDescriptionCollection

如果資料來源為 IBindingListView,則為包含套用至該清單之排序描述的 ListSortDescriptionCollection,否則為 nullIf the data source is an IBindingListView, a ListSortDescriptionCollection that contains the sort descriptions applied to the list; otherwise, null.

實作

屬性

備註

如果清單不是 IBindingListView ,則一律會傳回 SortDescriptions nullIf the list is not an IBindingListView, the SortDescriptions always returns null.

ListSortDescriptionCollection是唯讀集合。The ListSortDescriptionCollection is a read-only collection.

適用於