共用方式為


ActiveDirectorySchemaClassCollection.AddRange 方法

定義

將某範圍的項目附加至這個集合。

多載

AddRange(ActiveDirectorySchemaClass[])

將指定 ActiveDirectorySchemaClass 陣列的內容附加到這個集合中。

AddRange(ActiveDirectorySchemaClassCollection)

將指定 ActiveDirectorySchemaClassCollection 物件的內容附加到這個集合中。

AddRange(ReadOnlyActiveDirectorySchemaClassCollection)

將指定 ReadOnlyActiveDirectorySchemaClassCollection 物件的內容附加到這個集合中。

AddRange(ActiveDirectorySchemaClass[])

來源:
ActiveDirectorySchemaClassCollection.cs
來源:
ActiveDirectorySchemaClassCollection.cs
來源:
ActiveDirectorySchemaClassCollection.cs

將指定 ActiveDirectorySchemaClass 陣列的內容附加到這個集合中。

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

參數

schemaClasses
ActiveDirectorySchemaClass[]

包含要附加至此集合物件的 ActiveDirectorySchemaClass 陣列。

例外狀況

呼叫基礎目錄服務時,發生錯誤。

物件已存在於這個集合中。

schemaClassesnull

ActiveDirectorySchemaClass 物件尚未儲存到基礎目錄存放區中。

另請參閱

適用於

AddRange(ActiveDirectorySchemaClassCollection)

來源:
ActiveDirectorySchemaClassCollection.cs
來源:
ActiveDirectorySchemaClassCollection.cs
來源:
ActiveDirectorySchemaClassCollection.cs

將指定 ActiveDirectorySchemaClassCollection 物件的內容附加到這個集合中。

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

參數

schemaClasses
ActiveDirectorySchemaClassCollection

包含要附加至此集合物件的 ActiveDirectorySchemaClassCollection 物件。

例外狀況

呼叫基礎目錄服務時,發生錯誤。

物件已存在於這個集合中。

schemaClassesnull

ActiveDirectorySchemaClass 物件尚未儲存到基礎目錄存放區中。

另請參閱

適用於

AddRange(ReadOnlyActiveDirectorySchemaClassCollection)

來源:
ActiveDirectorySchemaClassCollection.cs
來源:
ActiveDirectorySchemaClassCollection.cs
來源:
ActiveDirectorySchemaClassCollection.cs

將指定 ReadOnlyActiveDirectorySchemaClassCollection 物件的內容附加到這個集合中。

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

參數

schemaClasses
ReadOnlyActiveDirectorySchemaClassCollection

包含要附加至此集合物件的 ReadOnlyActiveDirectorySchemaClassCollection 物件。

例外狀況

呼叫基礎目錄服務時,發生錯誤。

物件已存在於這個集合中。

schemaClassesnull

ActiveDirectorySchemaClass 物件尚未儲存在 Active Directory 網域服務存放區中。

另請參閱

適用於