Editar

Partilhar via


DirectorySearcher.Sort Property

Definition

Gets or sets a value indicating the property on which the results are sorted.

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

Property Value

A SortOption object that specifies the property and direction that the search results should be sorted on.

Attributes

Exceptions

The property value is null (Nothing in Visual Basic).

Applies to

See also