An NDoc Documented Class Library |

# NpgsqlParameterCollection.IndexOf Method (String)

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

[Visual Basic]
NotOverridable Overloads Public Function IndexOf( _
ByVal parameterName As String _
) As Integer _
Implements IDataParameterCollection.IndexOf
[C#]
public int IndexOf(
string parameterName
);

#### Parameters

parameterName
  The name of the NpgsqlParameter object to find.

#### Return Value

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

#### Implements

IDataParameterCollection.IndexOf

#### Remarks

Missing <remarks> documentation for M:Npgsql.NpgsqlParameterCollection.IndexOf(System.String)

#### See Also

NpgsqlParameterCollection Class | Npgsql Namespace | NpgsqlParameterCollection.IndexOf Overload List