Microsoft Identity Integration Server 2003 Developer Reference

ValueCollection.Add (String)

The Add (String) method adds a string value to the ValueCollection.
[C#]
public void Add(
  String val
);
[Visual Basic .NET]
Public Sub Add( _
  ByVal val As String _
)

Parameters

val
Contains a string that will be added to the ValueCollection.

Return Values

This method has no return values.

Exceptions

Exception type Condition
ArgumentNullException The argument is null.
InvalidOperationException The value of the val parameter cannot be converted to the data type of the collection.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

ValueCollection