SortOption::Direction Property

 

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

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
[DSDescriptionAttribute("DSSortDirection")]
property SortDirection Direction {
	SortDirection get();
	void set(SortDirection value);
}

Property Value

Type: System.DirectoryServices::SortDirection

One of the SortDirection values. The default is Ascending.

Exception Condition
InvalidEnumArgumentException

The value is not one of the SortDirection values.

.NET Framework
Available since 1.1
Return to top
Show: