BindingList<T>.RemoveSortCore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果在衍生類別中實作排序時,移除以 ApplySortCore(PropertyDescriptor, ListSortDirection) 所套用的任何排序,否則引發 NotSupportedException。
protected:
virtual void RemoveSortCore();
protected virtual void RemoveSortCore ();
abstract member RemoveSortCore : unit -> unit
override this.RemoveSortCore : unit -> unit
Protected Overridable Sub RemoveSortCore ()
例外狀況
在衍生類別中未覆寫方法。
備註
類別 BindingList<T> 不提供排序的基底實作,因此 RemoveSortCore 一律預設會擲回 NotSupportedException 。 如需排序的詳細資訊,請參閱 ApplySortCore 方法。