The Add method adds the contents of another ValueCollection to this ValueCollection.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As ValueCollection
Dim val As ValueCollection

instance.Add(val)

Syntax

Visual Basic
Public MustOverride Sub Add ( _
		val As ValueCollection _
)
C#
public abstract void Add (
		ValueCollection val
)
C++
public:
virtual void Add (
		ValueCollection^ val
) abstract
J#
public abstract void Add (
		ValueCollection val
)
JScript
public abstract function Add (
		val : ValueCollection
)

Parameters

val

Contains a ValueCollection object from which the contents will be added to this ValueCollection.

Exceptions

Exception type Condition
System.ArgumentException

The argument is this object.

System.ArgumentNullException

The argument is null.

System.InvalidOperationException

The value of the val parameter cannot be converted to the data type of the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also