Int16.RotateRight(Int16, Int32) Method

Definition

Rotates a value right by a given amount.

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

Parameters

value
Int16

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