ActiveDirectorySchemaPropertyCollection.AddRange 方法

定义

将一系列项追加到此集合中。

重载

AddRange(ActiveDirectorySchemaProperty[])

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

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())

参数

properties
ActiveDirectorySchemaProperty[]

ActiveDirectorySchemaProperty包含要追加到此集合的对象的数组。

例外

对基础目录服务的调用导致错误。

此集合中已存在该对象。

propertiesnull

ActiveDirectorySchemaProperty 对象尚未保存在Active Directory 域服务存储中。

另请参阅

适用于

AddRange(ActiveDirectorySchemaPropertyCollection)

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

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)

参数

properties
ActiveDirectorySchemaPropertyCollection

ActiveDirectorySchemaPropertyCollection包含要追加到此集合的对象的对象。

例外

对基础目录服务的调用导致错误。

此集合中已存在该对象。

propertiesnull

ActiveDirectorySchemaProperty 对象尚未保存在Active Directory 域服务存储中。

另请参阅

适用于

AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection)

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

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)

参数

例外

对基础目录服务的调用导致错误。

此集合中已存在该对象。

propertiesnull

ActiveDirectorySchemaProperty 对象尚未保存在Active Directory 域服务存储中。

另请参阅

适用于