MySqlParameter Constructor (String, MySqlDbType, Int32, String)

MySQL Connector/Net

MySqlParameter Constructor (String, MySqlDbType, Int32, String)
Initializes a new instance of the MySqlParameter class with the parameter name, the MySqlDbType, the size, and the source column name.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public MySqlParameter(
	string parameterName,
	MySqlDbType dbType,
	int size,
	string sourceColumn
)
Public Sub New ( 
	parameterName As String,
	dbType As MySqlDbType,
	size As Integer,
	sourceColumn As String
)
public:
MySqlParameter(
	String^ parameterName, 
	MySqlDbType dbType, 
	int size, 
	String^ sourceColumn
)
new : 
        parameterName : string * 
        dbType : MySqlDbType * 
        size : int * 
        sourceColumn : string -> MySqlParameter

Parameters

parameterName
Type: SystemString
The name of the parameter to map.
dbType
Type: MySql.Data.MySqlClientMySqlDbType
One of the MySqlDbType values.
size
Type: SystemInt32
The length of the parameter.
sourceColumn
Type: SystemString
The name of the source column.
See Also