MySqlParameter Constructor (String, Object)

MySQL Connector/Net

Initializes a new instance of the MySqlParameter class with the parameter name and a value of the new MySqlParameter.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 6.2.2.0

Syntax

C#
public MySqlParameter(
	string parameterName,
	Object value
)
Visual Basic (Declaration)
Public Sub New ( _
	parameterName As String, _
	value As Object _
)
Visual C++
public:
MySqlParameter(
	String^ parameterName, 
	Object^ value
)

Parameters

parameterName
Type: System..::.String
The name of the parameter to map.
value
Type: System..::.Object
An Object that is the value of the MySqlParameter.

See Also