Npgsql API Documentation |

# NpgsqlParameterCollection.IndexOf Method (Object)

[This is preliminary documentation and subject to change.]

Gets the location of a NpgsqlParameter in the collection.

[Visual Basic]
NotOverridable Overloads Public Function IndexOf( _
ByVal value As Object _
) As Integer Implements _
IList.IndexOf
[C#]
public int IndexOf(
object value
);

#### Parameters

value
  The value of the NpgsqlParameter object to find.

#### Return Value

The zero-based index of the NpgsqlParameter object in the collection.

#### Implements

IList.IndexOf

#### See Also

NpgsqlParameterCollection Class | Npgsql Namespace | NpgsqlParameterCollection.IndexOf Overload List