MySqlParameter Constructor (String, Object)

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
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.8.4.0

Syntax

C#
public MySqlParameter(
	string parameterName,
	Object value
)
Visual Basic
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