Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyValueCollection::Add Method (Object^)

 

Appends the specified PropertyValueCollection object to this collection.

Namespace:   System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public:
int Add(
	Object^ value
)

Parameters

value
Type: System::Object^

The PropertyValueCollection object to append to this collection.

Return Value

Type: System::Int32

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

Exception Condition
COMException

An error occurred during the call to the underlying interface.

ArgumentNullException

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft