PropertyValueCollection.AddRange Method

Definition

Appends a set of property values to this collection.

Overloads

AddRange(PropertyValueCollection)

Appends the contents of the PropertyValueCollection object to this collection.

AddRange(Object[])

Appends the contents of the specified PropertyValueCollection object to this collection.

AddRange(PropertyValueCollection)

Appends the contents of the PropertyValueCollection object to this collection.

public:
 void AddRange(System::DirectoryServices::PropertyValueCollection ^ value);
public void AddRange (System.DirectoryServices.PropertyValueCollection value);
member this.AddRange : System.DirectoryServices.PropertyValueCollection -> unit
Public Sub AddRange (value As PropertyValueCollection)

Parameters

value
PropertyValueCollection

A PropertyValueCollection object that contains the objects to append to this collection.

Exceptions

The property value is a null reference (Nothing in Visual Basic).

Applies to

AddRange(Object[])

Appends the contents of the specified PropertyValueCollection object to this collection.

public:
 void AddRange(cli::array <System::Object ^> ^ value);
public void AddRange (object[] value);
public void AddRange (object?[] value);
member this.AddRange : obj[] -> unit
Public Sub AddRange (value As Object())

Parameters

value
Object[]

The PropertyValueCollection array that contains the objects to append to this collection.

Exceptions

The property value is a null reference (Nothing in Visual Basic).

Applies to