dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlParameterCollection Class / Add Method / Add(String,Object) Method
The name of the parameter.
The Value of the MySqlParameter to add to the collection.

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

    Parameters

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

    Return Value

    The new MySqlParameter 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