Npgsql API Documentation |

# NpgsqlParameterCollection.IndexOf Method

[This is preliminary documentation and subject to change.]

Gets the location of a NpgsqlParameter in the collection.

#### Overload List

Gets the location of a NpgsqlParameter in the collection.

> public int IndexOf(object);

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

> public int IndexOf(string);

#### See Also

NpgsqlParameterCollection Class | Npgsql Namespace