BitArray.LeftShift(Int32) 方法

定义

将当前 BitArray 的所有位值向左移动 count 位。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

参数

count
Int32

每个位的移动量。The number of shifts to make for each bit.

返回

BitArray

当前的 BitArrayThe current BitArray.

例外

count 小于零。count is less than zero.

注解

BitArray更新并返回当前。The current BitArray is updated and returned.

适用于