DirectoryAttributeCollection.Add(DirectoryAttribute) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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).