dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ParameterCollection Class / Add Method / Add(String,Object) Method
The name of the parameter.
The Value of the DB2Parameter to add to the collection.

In This Topic
    Add(String,Object) Method
    In This Topic
    Adds a DB2Parameter to the DB2ParameterCollection given the parameter name and value.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal parameterName As String, _
       ByVal value As Object _
    ) As DB2Parameter
    public DB2Parameter Add( 
       string parameterName,
       object value
    )

    Parameters

    parameterName
    The name of the parameter.
    value
    The Value of the DB2Parameter to add to the collection.

    Return Value

    The new DB2Parameter object.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also