DirectoryControlCollection.Add(DirectoryControl) Método
Definición
El método Add(DirectoryControl) agrega un nuevo objeto DirectoryControl a la colección.The Add(DirectoryControl) method adds a new DirectoryControl object to the collection.
public:
int Add(System::DirectoryServices::Protocols::DirectoryControl ^ control);
public int Add (System.DirectoryServices.Protocols.DirectoryControl control);
member this.Add : System.DirectoryServices.Protocols.DirectoryControl -> int
Public Function Add (control As DirectoryControl) As Integer
Parámetros
- control
- DirectoryControl
Objeto DirectoryControl que se agrega.The DirectoryControl object to add.
Devoluciones
Índice de DirectoryControlCollection en el que se ha agregado el objeto DirectoryControl.The index of the DirectoryControlCollection at which the DirectoryControl object has been added.
Excepciones
control
es una referencia nula (Nothing
en Visual Basic).control
is a null reference (Nothing
in Visual Basic).