IndexOf Method (String)

MySQL Connector.Net

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

Syntax

C#
public override int IndexOf(
	string parameterName
)
Visual Basic
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