UInt16.RotateRight(UInt16, Int32) Method

Definition

Rotates a value right by a given amount.

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

Parameters

value
UInt16

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