dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlParameterCollection Class / AddWithValue Method
Name of the parameter.
Value of the parameter.

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

    Parameters

    parameterName
    Name of the parameter.
    value
    Value of the parameter.

    Return Value

    A new PgSqlParameter object.
    See Also