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的结果。

实现

适用于