SortOption.Direction Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.