Npgsql Api Docs |

# BitString.CopyTo Method

Copies the bitstring to an array of bools.

[Visual Basic]
NotOverridable Public Sub CopyTo( _
ByVal array As Boolean(), _
ByVal arrayIndex As Integer _
) _
Implements ICollection`1.CopyTo
[C#]
public void CopyTo(
bool[] array,
int arrayIndex
);

#### Parameters

array
  The boolean array to copy to.
arrayIndex
  The index in the array to start copying from.

#### Implements

ICollection`1.CopyTo

#### See Also

BitString Class | NpgsqlTypes Namespace