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.

适用于