BitArray.LeftShift(Int32) 方法

定义

将当前 BitArray 的所有位值移到位上的 count 左侧。

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

要针对每个位的移位数。

返回

当前 BitArray

例外

count 小于零。

注解

当前 BitArray 更新并返回。

适用于