Edit

Share via


SortOption.Direction Property

Definition

Gets or sets the direction in which to sort the results of a query.

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

Property Value

One of the SortDirection values. The default is Ascending.

Attributes

Exceptions

The value is not one of the SortDirection values.

Applies to