Edit

Share via


DirectoryAttributeModificationCollection.AddRange Method

Definition

Adds the specified objects to the current collection.

Overloads

AddRange(DirectoryAttributeModification[])

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

AddRange(DirectoryAttributeModificationCollection)

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

AddRange(DirectoryAttributeModification[])

Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs

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

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

Parameters

attributes
DirectoryAttributeModification[]

An array of DirectoryAttributeModification objects to add to the collection.

Exceptions

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

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

Applies to

AddRange(DirectoryAttributeModificationCollection)

Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
Source:
DirectoryAttribute.cs
public:
 void AddRange(System::DirectoryServices::Protocols::DirectoryAttributeModificationCollection ^ attributeCollection);
public void AddRange (System.DirectoryServices.Protocols.DirectoryAttributeModificationCollection attributeCollection);
member this.AddRange : System.DirectoryServices.Protocols.DirectoryAttributeModificationCollection -> unit
Public Sub AddRange (attributeCollection As DirectoryAttributeModificationCollection)

Parameters

attributeCollection
DirectoryAttributeModificationCollection

The DirectoryAttributeModificationCollection collection to add to this collection.

Exceptions

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

Applies to