메소드 | 설명 | |
---|---|---|
Add ( object attr ) : bool |
Adds the specified attribute to this set if it is not already present. If an attribute with the same name already exists in the set then the specified attribute will not be added.
|
|
AddAll ( System c ) : bool |
Adds all
|
|
Clear ( ) : void |
Removes all of the elements from this set.
|
|
Clone ( ) : |
Returns a deep copy of this attribute set.
|
|
Contains ( object attr ) : bool |
Returns
|
|
GetEnumerator ( ) : System.Collections.IEnumerator |
Returns an iterator over the attributes in this set. The attributes returned from this iterator are not in any particular order.
|
|
IsEmpty ( ) : bool |
Returns
|
|
LdapAttributeSet ( ) : System |
Constructs an empty set of attributes.
|
|
Remove ( object object_Renamed ) : bool |
Removes the specified object from this set if it is present. If the specified object is of type
|
|
ToString ( ) : System.String |
Returns a string representation of this LdapAttributeSet
|
|
getAttribute ( System attrName ) : |
Returns the attribute matching the specified attrName. For example:
null is returned if there is no exact match to the specified attrName. Note: Novell eDirectory does not currently support language subtypes. It does support the "binary" subtype.
|
|
getAttribute ( System attrName, System lang ) : |
Returns a single best-match attribute, or
|
|
getSubset ( System subtype ) : |
Creates a new attribute set containing only the attributes that have the specified subtypes. For example, suppose an attribute set contains the following attributes:
getSubset method and passing lang-ja as the argument, the method returns an attribute set containing the following attributes:
|
public Add ( object attr ) : bool | ||
attr | object | Object of type LdapAttribute
///
/// |
리턴 | bool |
public AddAll ( System c ) : bool | ||
c | System | Collection of LdapAttribute objects.
///
/// @throws ClassCastException occurs when an element in the
/// collection is not of type LdapAttribute .
///
/// |
리턴 | bool |
public Contains ( object attr ) : bool | ||
attr | object | Object of type LdapAttribute
///
/// |
리턴 | bool |
public GetEnumerator ( ) : System.Collections.IEnumerator | ||
리턴 | System.Collections.IEnumerator |
public getAttribute ( System attrName ) : |
||
attrName | System | The name of an attribute to retrieve, with or without /// subtype specifications. For example, "cn", "cn;phonetic", and /// "cn;binary" are valid attribute names. /// /// |
리턴 |
public getAttribute ( System attrName, System lang ) : |
||
attrName | System | The name of an attribute to retrieve, with or without /// subtype specifications. For example, "cn", "cn;phonetic", and /// cn;binary" are valid attribute names. /// /// |
lang | System | A language specification with optional subtypes /// appended using "-" as separator. For example, "lang-en", "lang-en-us", /// "lang-ja", and "lang-ja-JP-kanji" are valid language specification. /// /// |
리턴 |
public getSubset ( System subtype ) : |
||
subtype | System | Semi-colon delimited list of subtypes to include. For
/// example:
///
|
리턴 |