編集

次の方法で共有


DirectoryAttributeCollection.AddRange Method

Definition

Adds objects to the current collection.

Overloads

AddRange(DirectoryAttribute[])

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

AddRange(DirectoryAttributeCollection)

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

AddRange(DirectoryAttribute[])

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

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

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

Parameters

attributes
DirectoryAttribute[]

An array of DirectoryAttribute to add to the collection.

Exceptions

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

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

Applies to

AddRange(DirectoryAttributeCollection)

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

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

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

Parameters

attributeCollection
DirectoryAttributeCollection

The DirectoryAttributeCollection object to add to this collection.

Exceptions

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

Applies to