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 datatypes.

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.

Remarks

See Also

Project VBCorLib Overview Class BitArrayStatic Overview BitArrayStatic Properties BitArrayStatic Methods FromBytes