Npgsql API Documentation |

# NpgsqlParameter Constructor (String, NpgsqlDbType, Int32)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the NpgsqlParameter class with the parameter name, the DbType, and the size.

[Visual Basic]
Overloads Public Sub New( _
ByVal parameterName As String, _
ByVal parameterType As NpgsqlDbType, _
ByVal size As Integer _
)
[C#]
public NpgsqlParameter(
string parameterName,
NpgsqlDbType parameterType,
int size
);

#### Parameters

parameterName
  The name of the parameter to map.
parameterType
  One of the DbType values.
size
  The length of the parameter.

#### See Also

NpgsqlParameter Class | Npgsql Namespace | NpgsqlParameter Constructor Overload List