







![]() ![]() |
MySQL Connector/Net |
MySqlParameter Constructor (String, MySqlDbType, Int32) |
MySqlParameter Class See Also Send Feedback |
![]() |
Initializes a new instance of the MySqlParameter class with the parameter name, the MySqlDbType, and the size.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0
Syntax
C# |
---|
public MySqlParameter( string parameterName, MySqlDbType dbType, int size ) |
Visual Basic |
---|
Public Sub New ( _ parameterName As String, _ dbType As MySqlDbType, _ size As Integer _ ) |
Visual C++ |
---|
public: MySqlParameter( String^ parameterName, MySqlDbType dbType, int size ) |
Parameters
- parameterName
- Type: System..::..String
The name of the parameter to map.
- dbType
- Type: MySql.Data.MySqlClient..::..MySqlDbType
One of the MySqlDbType values.
- size
- Type: System..::..Int32
The length of the parameter.