Edit

Share via


ActiveDirectorySchemaPropertyCollection.AddRange Method

Definition

Appends a range of items to this collection.

Overloads

AddRange(ActiveDirectorySchemaProperty[])

Appends the contents of the specified ActiveDirectorySchemaProperty array to this collection.

AddRange(ActiveDirectorySchemaPropertyCollection)

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

AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection)

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

AddRange(ActiveDirectorySchemaProperty[])

Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs

Appends the contents of the specified ActiveDirectorySchemaProperty array to this collection.

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

Parameters

properties
ActiveDirectorySchemaProperty[]

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

Exceptions

A call to the underlying directory service resulted in an error.

The object already exists in this collection.

properties is null.

The ActiveDirectorySchemaProperty object has not yet been saved in the Active Directory Domain Services store.

See also

Applies to

AddRange(ActiveDirectorySchemaPropertyCollection)

Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs

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

public:
 void AddRange(System::DirectoryServices::ActiveDirectory::ActiveDirectorySchemaPropertyCollection ^ properties);
public void AddRange (System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertyCollection properties);
member this.AddRange : System.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertyCollection -> unit
Public Sub AddRange (properties As ActiveDirectorySchemaPropertyCollection)

Parameters

properties
ActiveDirectorySchemaPropertyCollection

The ActiveDirectorySchemaPropertyCollection object that contains the objects to append to this collection.

Exceptions

A call to the underlying directory service resulted in an error.

The object already exists in this collection.

properties is null.

The ActiveDirectorySchemaProperty object has not yet been saved in the Active Directory Domain Services store.

See also

Applies to

AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection)

Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs
Source:
ActiveDirectorySchemaPropertyCollection.cs

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

public:
 void AddRange(System::DirectoryServices::ActiveDirectory::ReadOnlyActiveDirectorySchemaPropertyCollection ^ properties);
public void AddRange (System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaPropertyCollection properties);
member this.AddRange : System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaPropertyCollection -> unit
Public Sub AddRange (properties As ReadOnlyActiveDirectorySchemaPropertyCollection)

Parameters

properties
ReadOnlyActiveDirectorySchemaPropertyCollection

The ReadOnlyActiveDirectorySchemaPropertyCollection object that contains the objects to append to this collection.

Exceptions

A call to the underlying directory service resulted in an error.

The object already exists in this collection.

properties is null.

The ActiveDirectorySchemaProperty object has not yet been saved in the Active Directory Domain Services store.

See also

Applies to