语言

UInt16.RotateLeft(UInt16, Int32) 方法

定义

按给定量旋转一个值。

public:
 static System::UInt16 RotateLeft(System::UInt16 value, int rotateAmount) = System::Numerics::IBinaryInteger<System::UInt16>::RotateLeft;
public static ushort RotateLeft(ushort value, int rotateAmount);
static member RotateLeft : uint16 * int -> uint16
Public Shared Function RotateLeft (value As UShort, rotateAmount As Integer) As UShort

参数

value
UInt16

向左 rotateAmount旋转的值。

rotateAmount
Int32

向左旋转的 value 量。

返回

左value旋转rotateAmount的结果。

实现

适用于