Npgsql Api Docs |

# NpgsqlParameterCollection.IndexOf Method (Object)

Gets the location of a NpgsqlParameter in the collection.

[Visual Basic]
Overrides Overloads Public Function IndexOf( _
ByVal value As Object _
) As Integer _
Implements IList.IndexOf
[C#]
public override 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