IBindingList.IsSorted 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
查詢清單中的項目是否已排序。
public:
property bool IsSorted { bool get(); };
public bool IsSorted { get; }
member this.IsSorted : bool
Public ReadOnly Property IsSorted As Boolean
屬性值
true 若 ApplySort(PropertyDescriptor, ListSortDirection) 已被呼喚且 RemoveSort() 未被呼喚;否則, false。
例外狀況
SupportsSorting 是 false。
備註
若 SupportsSorting 為 , true則支持此性質;否則,此性質拋 NotSupportedException出 。
若 IsSorted 返回 true,則依排序順序新增或移除項目。