IndexOf Method (String)

MySQL Connector/Net

Gets the location of the MySqlParameter in the collection with a specific parameter name.

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

Syntax

C#
public override int IndexOf(
	string parameterName
)
Visual Basic (Declaration)
Public Overrides Function IndexOf ( _
	parameterName As String _
) As Integer
Visual C++
public:
virtual int IndexOf(
	String^ parameterName
) override

Parameters

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

Return Value

The zero-based location of the MySqlParameter in the collection.

Implements

IDataParameterCollection..::.IndexOf(String)

See Also