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