Bagikan melalui


ActiveDirectorySubnetCollection.AddRange Metode

Definisi

Menambahkan rentang item ke koleksi ini.

Overload

AddRange(ActiveDirectorySubnet[])

Menambahkan konten array yang ditentukan ActiveDirectorySubnet ke koleksi ini.

AddRange(ActiveDirectorySubnetCollection)

Menambahkan isi objek yang ditentukan ActiveDirectorySubnetCollection ke koleksi ini.

AddRange(ActiveDirectorySubnet[])

Sumber:
ActiveDirectorySubnetCollection.cs
Sumber:
ActiveDirectorySubnetCollection.cs
Sumber:
ActiveDirectorySubnetCollection.cs

Menambahkan konten array yang ditentukan ActiveDirectorySubnet ke koleksi ini.

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

Parameter

subnets
ActiveDirectorySubnet[]

Array ActiveDirectorySubnet yang berisi objek untuk ditambahkan ke koleksi ini.

Pengecualian

Panggilan ke layanan direktori yang mendasar mengakibatkan kesalahan.

Objek sudah ada dalam koleksi.

subnetsadalah null.

Objek ActiveDirectorySubnet belum disimpan di penyimpanan Active Directory Domain Services.

Lihat juga

Berlaku untuk

AddRange(ActiveDirectorySubnetCollection)

Sumber:
ActiveDirectorySubnetCollection.cs
Sumber:
ActiveDirectorySubnetCollection.cs
Sumber:
ActiveDirectorySubnetCollection.cs

Menambahkan isi objek yang ditentukan ActiveDirectorySubnetCollection ke koleksi ini.

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

Parameter

subnets
ActiveDirectorySubnetCollection

Objek ActiveDirectorySubnetCollection yang berisi objek untuk ditambahkan ke koleksi ini.

Pengecualian

Panggilan ke layanan direktori yang mendasar mengakibatkan kesalahan.

Objek sudah ada dalam koleksi ini.

subnetsadalah null.

Objek ActiveDirectorySubnet belum disimpan di penyimpanan Active Directory Domain Services.

Lihat juga

Berlaku untuk