BitArray: CopyTo

CopyTo

Copies the internal bit-array to a compatible array.



 Public Sub CopyTo(
	  ByRef Arr As Variant,
	  ByVal Index As Long )

Parameters

Arr
[ByRef] Variant. The array to copy the values to.
Index
[ByVal] Long. The starting position in the array to begin copying to.

Remarks

This method supports the copying to three array types: Long, Byte and Boolean. When copying to Long or Byte type arrays, the bits in the elements are equivalents to the bits in the BitArray. When copying to a Boolean array, each boolean element represents a single bit in the array.

See Also

Project CorLib Overview

Class BitArray Overview