Int64.RotateLeft(Int64, Int32) 方法

定义

按给定量旋转剩余的值。

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

参数

value
Int64

rotateAmount左旋转的值。

rotateAmount
Int32

左旋转的量 value

返回

rotateAmount旋转value的结果。

实现

适用于