BindingList<T>.RemoveSortCore 方法

定義

如果在衍生類別中實作排序時,移除以 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 方法。

適用於