IBindingList.SortDirection 属性

定义

获取排序的方向。Gets the direction of the sort.

public:
 property System::ComponentModel::ListSortDirection SortDirection { System::ComponentModel::ListSortDirection get(); };
public System.ComponentModel.ListSortDirection SortDirection { get; }
member this.SortDirection : System.ComponentModel.ListSortDirection
Public ReadOnly Property SortDirection As ListSortDirection

属性值

ListSortDirection 值之一。One of the ListSortDirection values.

例外

注解

如果 trueSupportsSorting,则支持此属性;否则,此属性将引发 NotSupportedExceptionThis property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

适用于