BitArray.RightShift(Int32) 方法

定义

将当前的所有位值 BitArray 向右移动 count 位。Shifts all the bit values of the current BitArray to the right on count bits.

public:
 System::Collections::BitArray ^ RightShift(int count);
public System.Collections.BitArray RightShift (int count);
member this.RightShift : int -> System.Collections.BitArray
Public Function RightShift (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.

适用于