共用方式為


SortOption.Direction 屬性

定義

取得或設定要用來排序查詢結果的方向。

public:
 property System::DirectoryServices::SortDirection Direction { System::DirectoryServices::SortDirection get(); void set(System::DirectoryServices::SortDirection value); };
public System.DirectoryServices.SortDirection Direction { get; set; }
[System.DirectoryServices.DSDescription("DSSortDirection")]
public System.DirectoryServices.SortDirection Direction { get; set; }
member this.Direction : System.DirectoryServices.SortDirection with get, set
[<System.DirectoryServices.DSDescription("DSSortDirection")>]
member this.Direction : System.DirectoryServices.SortDirection with get, set
Public Property Direction As SortDirection

屬性值

其中一個 SortDirection 值。 預設值為 Ascending

屬性

例外狀況

該值不是其中一個 SortDirection 值。

適用於