ValueCollection.Add Method

The Add (ValueCollection) method adds the contents of another ValueCollection to this ValueCollection.

Syntax

public void Add(
  ValueCollection value
);
Public Sub Add( _
  ByVal value As ValueCollection _
)

Parameters

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

Return Value

This method does not return a value.

Exceptions

Exception type Condition
ArgumentException

The argument is this object.

ArgumentNullException

The argument is null.

InvalidOperationException

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

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

ValueCollection

Send comments about this topic to Microsoft

Build date: 2/16/2009