DirectoryAttributeModificationCollection.AddRange Method (DirectoryAttributeModification[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

The AddRange method adds an array of DirectoryAttributeModification objects to the collection.

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

public void AddRange(
	DirectoryAttributeModification[] attributes
)

Parameters

attributes
Type: System.DirectoryServices.Protocols.DirectoryAttributeModification[]

An array of DirectoryAttributeModification objects to add to the collection.

Exception Condition
ArgumentNullException

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

ArgumentException

One of the members of attributes is a null reference (Nothing in Visual Basic).

.NET Framework
Available since 2.0
Return to top
Show: