Redigera

Dela via


PropertyValueCollection.Add(Object) Method

Definition

Appends the specified PropertyValueCollection object to this collection.

public:
 int Add(System::Object ^ value);
public int Add (object? value);
public int Add (object value);
member this.Add : obj -> int
Public Function Add (value As Object) As Integer

Parameters

value
Object

The PropertyValueCollection object to append to this collection.

Returns

The zero-based index of the PropertyValueCollection object that is appended to this collection.

Exceptions

An error occurred during the call to the underlying interface.

The property value is a null reference (Nothing in Visual Basic).

Applies to