Export (0) Print
Expand All

DirectoryControlCollection.AddRange Method (DirectoryControl[])

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

Namespace:  System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public void AddRange(
	DirectoryControl[] controls
)

Parameters

controls
Type: System.DirectoryServices.Protocols.DirectoryControl[]

An array of DirectoryControl objects to add to the collection.

ExceptionCondition
ArgumentNullException

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

ArgumentException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft