IBindingList.IsSorted 屬性

定義

查詢清單中的項目是否已排序。

public:
 property bool IsSorted { bool get(); };
public bool IsSorted { get; }
member this.IsSorted : bool
Public ReadOnly Property IsSorted As Boolean

屬性值

trueApplySort(PropertyDescriptor, ListSortDirection) 已被呼喚且 RemoveSort() 未被呼喚;否則, false

例外狀況

備註

SupportsSorting 為 , true則支持此性質;否則,此性質拋 NotSupportedException出 。

IsSorted 返回 true,則依排序順序新增或移除項目。

適用於