DirectoryAttributeCollection.Add(DirectoryAttribute) Methode

Definitie

Met Add(DirectoryAttribute) de methode wordt een DirectoryAttribute object aan de verzameling toegevoegd.

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

Parameters

attribute
DirectoryAttribute

Het DirectoryAttribute object dat moet worden toegevoegd.

Retouren

De op nul gebaseerde index in de verzameling waar de DirectoryAttribute index is toegevoegd.

Uitzonderingen

attribute is een null-verwijzing (Nothing in Visual Basic).

Van toepassing op