語言

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 。

傳回

左旋轉valuerotateAmount的結果。

實作

適用於