DirectorySearcher.Sort 属性

定义

获取或设置指示对结果进行排序所依据的属性的值。

public:
 property System::DirectoryServices::SortOption ^ Sort { System::DirectoryServices::SortOption ^ get(); void set(System::DirectoryServices::SortOption ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public System.DirectoryServices.SortOption Sort { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
[System.DirectoryServices.DSDescription("DSSort")]
public System.DirectoryServices.SortOption Sort { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
member this.Sort : System.DirectoryServices.SortOption with get, set
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
[<System.DirectoryServices.DSDescription("DSSort")>]
member this.Sort : System.DirectoryServices.SortOption with get, set
Public Property Sort As SortOption

属性值

一个 SortOption 对象,指定对搜索结果进行排序应依据的属性和方向。

属性

例外

属性值为 null(在 Visual Basic 中为 Nothing)。

适用于

另请参阅