DirectoryControlCollection.AddRange Método

Definición

Agrega un objeto DirectoryControlCollection a la colección actual.Adds a DirectoryControlCollection object to the current collection.

Sobrecargas

AddRange(DirectoryControl[])

El método AddRange(DirectoryControl[]) agrega una matriz de objetos DirectoryControl a la colección.The AddRange(DirectoryControl[]) method adds an array of DirectoryControl objects to the collection.

AddRange(DirectoryControlCollection)

El método AddRange(DirectoryControlCollection) agrega un objeto DirectoryControlCollection a la colección actual.The AddRange(DirectoryControlCollection) method adds a DirectoryControlCollection object to the current collection.

AddRange(DirectoryControl[])

El método AddRange(DirectoryControl[]) agrega una matriz de objetos DirectoryControl a la colección.The AddRange(DirectoryControl[]) method adds an array of DirectoryControl objects to the collection.

public:
 void AddRange(cli::array <System::DirectoryServices::Protocols::DirectoryControl ^> ^ controls);
public void AddRange (System.DirectoryServices.Protocols.DirectoryControl[] controls);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryControl[] -> unit
Public Sub AddRange (controls As DirectoryControl())

Parámetros

controls
DirectoryControl[]

Matriz de objetos DirectoryControl que se agregará a la colección.An array of DirectoryControl objects to add to the collection.

Excepciones

controls es una referencia nula (Nothing en Visual Basic).controls is a null reference (Nothing in Visual Basic).

Un miembro de la matriz es una referencia nula (Nothing en Visual Basic).A member of the array is a null reference (Nothing in Visual Basic).

AddRange(DirectoryControlCollection)

El método AddRange(DirectoryControlCollection) agrega un objeto DirectoryControlCollection a la colección actual.The AddRange(DirectoryControlCollection) method adds a DirectoryControlCollection object to the current collection.

public:
 void AddRange(System::DirectoryServices::Protocols::DirectoryControlCollection ^ controlCollection);
public void AddRange (System.DirectoryServices.Protocols.DirectoryControlCollection controlCollection);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryControlCollection -> unit
Public Sub AddRange (controlCollection As DirectoryControlCollection)

Parámetros

controlCollection
DirectoryControlCollection

Objeto DirectoryControlCollection que se va a agregar a esta colección.The DirectoryControlCollection object to add to this collection.

Excepciones

controlCollection es una referencia nula (Nothing en Visual Basic).controlCollection is a null reference (Nothing in Visual Basic).

Se aplica a