PropertyValueCollection.Add(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).