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 ();

Applies to

.NET 9 (package-provided) a ďalšie verzie
Produkt Verzie
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

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 (string attributeName, string matchingRule, bool reverseOrder);

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

.NET 9 (package-provided) a ďalšie verzie
Produkt Verzie
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)