Int16.RotateLeft(Int16, Int32) 方法

定义

按给定量旋转剩余的值。

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

参数

value
Int16

rotateAmount向左旋转的值。

rotateAmount
Int32

向左旋转的量 value

返回

rotateAmount旋转value的结果。

实现

适用于