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: