Int16.RotateLeft(Int16, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按给定量旋转一个值。
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 量。
返回
左value旋转rotateAmount的结果。