Int32.RotateLeft(Int32, Int32) 方法

定義

將值向左旋轉指定的數量。

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

參數

value
Int32

由 左 rotateAmount 旋轉的值。

rotateAmount
Int32

向左旋轉的數量 value

傳回

由 左 rotateAmount 旋轉 value 的結果。

實作

適用於