Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SortDirection Enumeration

Specifies how to sort the results of an Active Directory query.

[Visual Basic]
<Serializable>
Public Enum SortDirection
[C#]
[Serializable]
public enum SortDirection
[C++]
[Serializable]
__value public enum SortDirection
[JScript]
public
   Serializable
enum SortDirection

Members

Member name Description
Ascending Sort from smallest to largest. For example, A to Z.
Descending Sort from largest to smallest. For example, Z to A.

Requirements

Namespace: System.DirectoryServices

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Directoryservices (in System.Directoryservices.dll)

See Also

System.DirectoryServices Namespace | DirectoryEntry | DirectoryEntries | PropertyCollection | PropertyValueCollection | DirectorySearcher | ReferralChasingOption | SearchResultCollection | SearchResult | ResultPropertyCollection | ResultPropertyValueCollection | SearchScope | SortOption

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft