C# Class Novell.Directory.Ldap.Controls.LdapSortKey

Encapsulates parameters for sorting search results.
Afficher le fichier Open project: EventStore/csharp-ldap Class Usage Examples

Méthodes publiques

Méthode Description
LdapSortKey ( System keyDescription ) : System

Constructs a new LdapSortKey object using an attribute as the sort key.

LdapSortKey ( System key, bool reverse ) : System

Constructs a new LdapSortKey object with the specified attribute name and sort order.

LdapSortKey ( System key, bool reverse, System matchRule ) : System

Constructs a new LdapSortKey object with the specified attribute name, sort order, and a matching rule.

Method Details

LdapSortKey() public méthode

Constructs a new LdapSortKey object using an attribute as the sort key.
public LdapSortKey ( System keyDescription ) : System
keyDescription System The single attribute to use for sorting. If the /// name is preceded by a minus sign (-), the sorting /// is done in reverse (descending) order. /// An OID for a matching rule may be appended /// following a ":". /// /// Examples: ///
    ///
  • "cn" (sorts in ascending order by the cn attribute)
  • ///
  • "-cn" (sorts in descending order by the cn attribute)
  • ///
  • "cn:1.2.3.4.5" (sorts in ascending order by the cn attribute /// using the matching rule 1.2.3.4.5)
  • ///
///
Résultat System

LdapSortKey() public méthode

Constructs a new LdapSortKey object with the specified attribute name and sort order.
public LdapSortKey ( System key, bool reverse ) : System
key System The single attribute to use for sorting. /// ///
reverse bool If true, sorting is done in descending order. If false, /// sorting is done in ascending order. ///
Résultat System

LdapSortKey() public méthode

Constructs a new LdapSortKey object with the specified attribute name, sort order, and a matching rule.
public LdapSortKey ( System key, bool reverse, System matchRule ) : System
key System The attribute name (for example, "cn") to use for sorting. /// ///
reverse bool If true, sorting is done in descending order. If false, /// sorting is done in ascending order. /// ///
matchRule System The object ID (OID) of a matching rule used for /// collation. If the object will be used to request /// server-side sorting of search results, it should /// be the OID of a matching rule known to be /// supported by that server. ///
Résultat System