MySqlParameterCollection.IndexOf Method (String)

MySQL Connector/Net

MySqlParameterCollectionIndexOf Method (String)
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.9.9
Syntax
public override int IndexOf(
	string parameterName
)
Public Overrides Function IndexOf ( 
	parameterName As String
) As Integer
public:
virtual int IndexOf(
	String^ parameterName
) override
abstract IndexOf : 
        parameterName : string -> int 
override IndexOf : 
        parameterName : string -> int 

Parameters

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

Return Value

Type: Int32
The zero-based location of the MySqlParameter in the collection.

Implements

IDataParameterCollectionIndexOf(String)
See Also