SortOption::Direction Property
.NET Framework (current version)
Gets or sets the direction in which to sort the results of a query.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
public: [DSDescriptionAttribute("DSSortDirection")] property SortDirection Direction { SortDirection get(); void set(SortDirection value); }
Property Value
Type: System.DirectoryServices::SortDirectionOne 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
Available since 1.1
Show: