Method | Description | |
---|---|---|
Compare ( System object1, System object2 ) : int |
Compares the the attributes of the first LdapEntry to the second. Only the values of the attributes named at the construction of this object will be compared. Multi-valued attributes compare on the first value only.
|
|
Equals ( System comparator ) : bool |
Determines if this comparator is equal to the comparator passed in. This will return true if the comparator is an instance of LdapCompareAttrNames and compares the same attributes names in the same order.
|
|
LdapCompareAttrNames ( System attrName ) : System |
Constructs an object that sorts results by a single attribute, in ascending order.
|
|
LdapCompareAttrNames ( System attrName, bool ascendingFlag ) : System |
Constructs an object that sorts results by a single attribute, in either ascending or descending order.
|
Method | Description | |
---|---|---|
InitBlock ( ) : void |
public Compare ( System object1, System object2 ) : int | ||
object1 | System | Target entry for comparison. /// /// |
object2 | System | Entry to be compared to. /// /// |
return | int |
public LdapCompareAttrNames ( System attrName ) : System | ||
attrName | System | Name of an attribute by which to sort. /// /// |
return | System |
public LdapCompareAttrNames ( System attrName, bool ascendingFlag ) : System | ||
attrName | System | Name of an attribute to sort by. /// /// |
ascendingFlag | bool | True specifies ascending order; false specifies /// descending order. /// |
return | System |