IBindingList.SortDirection Property

Definition

取得排序的方向。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

Property Value

ListSortDirection

其中一個 ListSortDirection 值。One of the ListSortDirection values.

Exceptions

Remarks

如果 SupportsSortingtrue,則支援此屬性。否則,這個屬性會擲回 NotSupportedExceptionThis property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

Applies to