Rediger

Del via


DirectoryControlCollection.AddRange Method

Definition

Adds a DirectoryControlCollection object to the current collection.

Overloads

AddRange(DirectoryControl[])

The AddRange(DirectoryControl[]) method adds an array of DirectoryControl objects to the collection.

AddRange(DirectoryControlCollection)

The AddRange(DirectoryControlCollection) method adds a DirectoryControlCollection object to the current collection.

AddRange(DirectoryControl[])

Source:
DirectoryControl.cs
Source:
DirectoryControl.cs
Source:
DirectoryControl.cs
Source:
DirectoryControl.cs

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())

Parameters

controls
DirectoryControl[]

An array of DirectoryControl objects to add to the collection.

Exceptions

controls is a null reference (Nothing in Visual Basic).

A member of the array is a null reference (Nothing in Visual Basic).

Applies to

AddRange(DirectoryControlCollection)

Source:
DirectoryControl.cs
Source:
DirectoryControl.cs
Source:
DirectoryControl.cs
Source:
DirectoryControl.cs

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)

Parameters

controlCollection
DirectoryControlCollection

The DirectoryControlCollection object to add to this collection.

Exceptions

controlCollection is a null reference (Nothing in Visual Basic).

Applies to