Int16.RotateLeft(Int16, Int32) Metod

Definition

Roterar ett värde som lämnas av ett angivet belopp.

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

Parametrar

value
Int16

Värdet som roteras till vänster av rotateAmount.

rotateAmount
Int32

Mängden som value roteras åt vänster.

Returer

Resultatet av att value rotera åt vänster av rotateAmount.

Implementeringar

Gäller för