Npgsql Api Docs |

# NpgsqlParameterCollection.IndexOf Method

Gets the location of a NpgsqlParameter in the collection.

#### Overload List

Gets the location of a NpgsqlParameter in the collection.

> public override int IndexOf(object);

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

> public override int IndexOf(string);

#### See Also

NpgsqlParameterCollection Class | Npgsql Namespace