BindingList<T>.SupportsSortingCore 属性

定义

获取一个值,该值指示列表是否支持排序。Gets a value indicating whether the list supports sorting.

protected:
 virtual property bool SupportsSortingCore { bool get(); };
protected virtual bool SupportsSortingCore { get; }
member this.SupportsSortingCore : bool
Protected Overridable ReadOnly Property SupportsSortingCore As Boolean

属性值

如果列表支持排序,则为 true;否则为 falsetrue if the list supports sorting; otherwise, false. 默认值为 falseThe default is false.

注解

SupportsSortingCore 属性指示 BindingList<T> 是否支持 ApplySortCore 方法排序。The SupportsSortingCore property indicates whether the BindingList<T> supports sorting with the ApplySortCore method.

BindingList<T> 类不提供排序的基实现,因此 SupportsSortingCore 默认情况下始终返回 falseThe BindingList<T> class does not provide a base implementation of sorting, so SupportsSortingCore always returns false by default. 有关实现排序的详细信息,请参阅 ApplySortCore 方法。For more information about implementing sorting, see the ApplySortCore method.

适用于