DB2®ParameterCollection.SetParameter(int, System.Data.Common.DbParameter) Method

Sets the DbParameter at the specified index to the specified value.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Overrides Sub SetParameter (index As Integer, value As DbParameter)
[C#]
public override void SetParameter (int index, value DbParameter)
[C++]
public:
virtual void SetParameter (int index, value^ DbParameter) override
[JScript]
public override function SetParameter (index : int, value : DbParameter

Parameters

index
The position of the parameter in the zero-based index.
value
The DbParameter instance to be assigned at the specified index.