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 已更新並傳回。

適用於