BitArray.RightShift(Int32) Method

Definition

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

Parameters

count
Int32

The number of shifts to make for each bit.

Returns

The current BitArray.

Exceptions

count is less than zero.

Remarks

The current BitArray is updated and returned.

Applies to