SortDirection Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The SortDirection enumeration specifies how to sort the results of an Active Directory Domain Services query.

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

public enum SortDirection

Member nameDescription
Ascending

Sort from smallest to largest. For example, A to Z.

Descending

Sort from largest to smallest. For example, Z to A.

.NET Framework
Available since 1.1
Return to top
Show: