BindingList<T>.SupportsSortingCore 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得值,指出清單是否支援排序。
protected:
virtual property bool SupportsSortingCore { bool get(); };
protected virtual bool SupportsSortingCore { get; }
member this.SupportsSortingCore : bool
Protected Overridable ReadOnly Property SupportsSortingCore As Boolean
屬性值
如果清單支援搜尋,則為 true
,否則為 false
。 預設為 false
。
備註
屬性 SupportsSortingCore 會指出 是否 BindingList<T> 支援使用 ApplySortCore 方法進行排序。
類別 BindingList<T> 不提供排序的基底實作,因此 SupportsSortingCore 一律預設會 false
傳回 。 如需實作排序的詳細資訊,請參閱 ApplySortCore 方法。