Npgsql Api Docs |

# BitString.IndexOf Method

Finds the first instance of a given value

[Visual Basic]
NotOverridable Public Function IndexOf( _
ByVal item As Boolean _
) As Integer _
Implements IList`1.IndexOf
[C#]
public int IndexOf(
bool item
);

#### Parameters

item
  The value - whether true or false - to search for.

#### Return Value

The index of the value found, or -1 if none are present.

#### Implements

IList`1.IndexOf

#### See Also

BitString Class | NpgsqlTypes Namespace