Rediger

Del via


UInt16.RotateLeft(UInt16, Int32) Method

Definition

Rotates a value left by a given amount.

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

Parameters

value
UInt16

The value which is rotated left by rotateAmount.

rotateAmount
Int32

The amount by which value is rotated left.

Returns

The result of rotating value left by rotateAmount.

Implements

Applies to