UInt16.RotateLeft(UInt16, Int32) Metode

Definisi

Memutar nilai yang ditinggalkan oleh jumlah tertentu.

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

Parameter

value
UInt16

Nilai yang diputar dibiarkan oleh rotateAmount.

rotateAmount
Int32

Jumlah yang value diputar kiri.

Mengembalikan

Hasil dari memutar value ke kiri oleh rotateAmount.

Penerapan

Berlaku untuk