PropertyValueCollection.AddRange 方法

定义

将一组属性值追加到此集合中。Appends a set of property values to this collection.

重载

AddRange(PropertyValueCollection)

PropertyValueCollection 对象的内容追加到此集合中。Appends the contents of the PropertyValueCollection object to this collection.

AddRange(Object[])

将指定 PropertyValueCollection 对象的内容追加到此集合中。Appends the contents of the specified PropertyValueCollection object to this collection.

AddRange(PropertyValueCollection)

PropertyValueCollection 对象的内容追加到此集合中。Appends the contents of the PropertyValueCollection object to this collection.

public:
 void AddRange(System::DirectoryServices::PropertyValueCollection ^ value);
public void AddRange (System.DirectoryServices.PropertyValueCollection value);
member this.AddRange : System.DirectoryServices.PropertyValueCollection -> unit
Public Sub AddRange (value As PropertyValueCollection)

参数

value
PropertyValueCollection

PropertyValueCollection 对象,包含要追加到此集合的对象。A PropertyValueCollection object that contains the objects to append to this collection.

例外

属性值为空引用(在 Visual Basic 中为 Nothing)。The property value is a null reference (Nothing in Visual Basic).

适用于

AddRange(Object[])

将指定 PropertyValueCollection 对象的内容追加到此集合中。Appends the contents of the specified PropertyValueCollection object to this collection.

public:
 void AddRange(cli::array <System::Object ^> ^ value);
public void AddRange (object[] value);
member this.AddRange : obj[] -> unit
Public Sub AddRange (value As Object())

参数

value
Object[]

PropertyValueCollection 数组,包含要追加到此集合的对象。The PropertyValueCollection array that contains the objects to append to this collection.

例外

属性值为空引用(在 Visual Basic 中为 Nothing)。The property value is a null reference (Nothing in Visual Basic).

适用于