ListSortDescription(PropertyDescriptor, ListSortDirection) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個帶有指定屬性描述與方向的新 ListSortDescription 類別實例。
public:
ListSortDescription(System::ComponentModel::PropertyDescriptor ^ property, System::ComponentModel::ListSortDirection direction);
public ListSortDescription(System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction);
new System.ComponentModel.ListSortDescription : System.ComponentModel.PropertyDescriptor * System.ComponentModel.ListSortDirection -> System.ComponentModel.ListSortDescription
Public Sub New (property As PropertyDescriptor, direction As ListSortDirection)
參數
- property
- PropertyDescriptor
該 PropertyDescriptor 描述了資料來源排序的屬性。
- direction
- ListSortDirection
這是其中一項 ListSortDescription 價值。