Bearbeiten

Freigeben über


SortKey Constructors

Definition

The SortKey() constructor creates and initializes a new instance of the SortKey class.

Overloads

SortKey()

The SortKey() constructor creates and initializes a new instance of the SortKey class.

SortKey(String, String, Boolean)

The SortKey(String, String, Boolean) constructor creates and initializes a new instance of the SortKey class using the specified attribute name, matching rule, and sort order.

SortKey()

Source:
DirectoryControl.cs
Source:
DirectoryControl.cs
Source:
DirectoryControl.cs

The SortKey() constructor creates and initializes a new instance of the SortKey class.

public:
 SortKey();
public SortKey ();
Public Sub New ()

Applies to

SortKey(String, String, Boolean)

Source:
DirectoryControl.cs
Source:
DirectoryControl.cs
Source:
DirectoryControl.cs

The SortKey(String, String, Boolean) constructor creates and initializes a new instance of the SortKey class using the specified attribute name, matching rule, and sort order.

public:
 SortKey(System::String ^ attributeName, System::String ^ matchingRule, bool reverseOrder);
public SortKey (string attributeName, string matchingRule, bool reverseOrder);
new System.DirectoryServices.Protocols.SortKey : string * string * bool -> System.DirectoryServices.Protocols.SortKey
Public Sub New (attributeName As String, matchingRule As String, reverseOrder As Boolean)

Parameters

attributeName
String

The name of the attribute to use as a sort key.

matchingRule
String

The object identifier (OID) of the matching rule for the sort.

reverseOrder
Boolean

true if the sort is ordered from the lowest to highest or false if the sort order is from highest to lowest.

Applies to