BitArray.LeftShift(Int32) Method

Definition

Shifts all the bit values of the current BitArray to the left on count bits.

public:
 System::Collections::BitArray ^ LeftShift(int count);
public System.Collections.BitArray LeftShift (int count);
member this.LeftShift : int -> System.Collections.BitArray
Public Function LeftShift (count As Integer) As BitArray

Parameters

count
Int32

The number of shifts to make for each bit.

Returns

BitArray

The current BitArray.

Exceptions

count is less than zero.

Remarks

The current BitArray is updated and returned.

Applies to