







|
| MySQL Connector/Net |
| MySqlParameterCollection..::.Add Method (String, MySqlDbType) |
| MySqlParameterCollection Class See Also Send Feedback |
Adds a MySqlParameter to the MySqlParameterCollection given 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 Add( string parameterName, MySqlDbType dbType ) |
| Visual Basic (Declaration) |
|---|
Public Function Add ( _ parameterName As String, _ dbType As MySqlDbType _ ) As MySqlParameter |
| Visual C++ |
|---|
public: MySqlParameter^ Add( String^ parameterName, MySqlDbType dbType ) |
Parameters
- parameterName
- Type: System..::.String
The name of the parameter.
- dbType
- Type: MySql.Data.MySqlClient..::.MySqlDbType
One of the MySqlDbType values.
