Contains Method (String)

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
Gets a value indicating whether a MySqlParameter with the specified parameter name exists in the collection.

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

Syntax

C#
public override bool Contains(
	string parameterName
)
Visual Basic
Public Overrides Function Contains ( _
	parameterName As String _
) As Boolean
Visual C++
public:
virtual bool Contains(
	String^ parameterName
) override

Parameters

parameterName
Type: System..::..String
The name of the MySqlParameter object to find.

Return Value

true if the collection contains the parameter; otherwise, false.

Implements

IDataParameterCollection..::..Contains(String)

See Also