Contains Method (String)

MySQL Connector/Net

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.2.2.0

Syntax

C#
public override bool Contains(
	string parameterName
)
Visual Basic (Declaration)
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