BindingList<T>.SortDirectionCore 属性

定义

获取列表的排序方向。Gets the direction the list is sorted.

protected:
 virtual property System::ComponentModel::ListSortDirection SortDirectionCore { System::ComponentModel::ListSortDirection get(); };
protected virtual System.ComponentModel.ListSortDirection SortDirectionCore { get; }
member this.SortDirectionCore : System.ComponentModel.ListSortDirection
Protected Overridable ReadOnly Property SortDirectionCore As ListSortDirection

属性值

ListSortDirection 值之一。One of the ListSortDirection values. 默认值为 AscendingThe default is Ascending.

注解

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

适用于