Share via


ActiveDirectorySchemaPropertyCollection.AddRange 方法

定义

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

重载

AddRange(ActiveDirectorySchemaProperty[])

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

AddRange(ActiveDirectorySchemaPropertyCollection)

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

AddRange(ReadOnlyActiveDirectorySchemaPropertyCollection)

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

AddRange(ActiveDirectorySchemaProperty[])

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

将指定 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)

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

将指定 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)

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

将指定 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)

参数

properties
ReadOnlyActiveDirectorySchemaPropertyCollection

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

例外

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

此集合中已存在该对象。

propertiesnull

尚未将 ActiveDirectorySchemaProperty 对象保存到 Active Directory 域服务存储区中。

另请参阅

适用于