DirectoryAttributeCollection::AddRange Method (array<DirectoryAttribute^>^)

 

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

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

public:
void AddRange(
	array<DirectoryAttribute^>^ attributes
)

Parameters

attributes
Type: array<System.DirectoryServices.Protocols::DirectoryAttribute^>^

An array of DirectoryAttribute to add to the collection.

Exception Condition
ArgumentNullException

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

ArgumentException

A member of attributes is a null reference (Nothing in Visual Basic) or a member of attributes specifies a modification operation other than Add.

.NET Framework
Available since 2.0
Return to top
Show: