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 SortDirection Direction { get; set; }

Property Value

Type: System.DirectoryServices.SortDirection

One of the SortDirection values. The default is Ascending.

Exception Condition

The value is not one of the SortDirection values.

.NET Framework
Available since 1.1
Return to top