Add(string, Object) Method

Syntax:

public int Add(string parameterName, Object value)

Description:

Adds a new RdmParameter object (specified by value) to the collection with the specified ParameterName.

Parameters:

parameterName

Type: System.String

The name of the new parameter to add to the collection.

value

Type: System.Object

The new parameter to add to the collection.

Return Value:

Type: System.Int32

The zero-based index of the new RdmParameter object in the collection.

Exceptions:

Exception Condition
ArgumentException The specified value already exists in the collection.
ArgumentException The value is not a valid RdmParameter.