Edit

Share via


Int32.RotateRight(Int32, Int32) Method

Definition

Rotates a value right by a given amount.

public:
 static int RotateRight(int value, int rotateAmount) = System::Numerics::IBinaryInteger<int>::RotateRight;
public static int RotateRight (int value, int rotateAmount);
static member RotateRight : int * int -> int
Public Shared Function RotateRight (value As Integer, rotateAmount As Integer) As Integer

Parameters

value
Int32

The value which is rotated right by rotateAmount.

rotateAmount
Int32

The amount by which value is rotated right.

Returns

The result of rotating value right by rotateAmount.

Implements

Applies to