BitArrayStatic: FromBooleans

FromBooleans

Returns a BitArray object created from an array of Booleans. Each boolean represents a single bit in the bit array.



 Public Function FromBooleans(
	  ByRef Values ( ) As Boolean ) As BitArray

Parameters

Values
[ByRef] Boolean. An array of Boolean types.

Return Values

BitArray -  A BitArray initialized to the number of bits as there are boolean elements in the array. Each bit is set to the corrisponding boolean value in the array.

See Also

Project CorLib Overview

Class BitArrayStatic Overview