IDataParameterCollection.Item[string] Property

Syntax:

Object IDataParameterCollection.this[string parameterName] { get; set; }

Description:

Type: System.Object

Gets or sets the RdmParameter with the specified name

Parameters:

parameterName

Type: System.String

The name of the parameter.

This method is an explicit interface member implementation and can only be used when the RdmParameterCollection instance is cast to an IDataParameterCollection interface.

Exceptions:

Exception Condition
ArgumentException The value is not a valid RdmParameter.
ArgumentException The specified parameter is already contained in another collection.
IndexOutOfRangeException A parameter of the specified name does not exist

Reference:

For more information, reference MSDN documentation for: System.Data.IDataParameterCollection.Item(String)