DirectoryAttributeCollection.Add(DirectoryAttribute) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Die Add(DirectoryAttribute)-Methode fügt der Auflistung ein DirectoryAttribute-Objekt hinzu.
public:
int Add(System::DirectoryServices::Protocols::DirectoryAttribute ^ attribute);
public int Add (System.DirectoryServices.Protocols.DirectoryAttribute attribute);
member this.Add : System.DirectoryServices.Protocols.DirectoryAttribute -> int
Public Function Add (attribute As DirectoryAttribute) As Integer
Parameter
- attribute
- DirectoryAttribute
Das hinzuzufügende DirectoryAttribute-Objekt.
Gibt zurück
Der nullbasierte Index in der Auflistung, der das DirectoryAttribute hinzugefügt wurde.
Ausnahmen
attribute ist ein NULL-Verweis (Nothing in Visual Basic).