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.

例外狀況

備註

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

適用於