ActiveDirectorySchemaClassCollection.AddRange 方法

定义

将一个范围内的项追加到此集合中。

重载

AddRange(ActiveDirectorySchemaClass[])

将指定 ActiveDirectorySchemaClass 数组的内容追加到此集合中。

AddRange(ActiveDirectorySchemaClassCollection)

将指定 ActiveDirectorySchemaClassCollection 对象的内容追加到此集合中。

AddRange(ReadOnlyActiveDirectorySchemaClassCollection)

将指定 ReadOnlyActiveDirectorySchemaClassCollection 对象的内容追加到此集合中。

AddRange(ActiveDirectorySchemaClass[])

Source:
ActiveDirectorySchemaClassCollection.cs
Source:
ActiveDirectorySchemaClassCollection.cs
Source:
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)

Source:
ActiveDirectorySchemaClassCollection.cs
Source:
ActiveDirectorySchemaClassCollection.cs
Source:
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)

Source:
ActiveDirectorySchemaClassCollection.cs
Source:
ActiveDirectorySchemaClassCollection.cs
Source:
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 域服务存储区中。

另请参阅

适用于