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

返回

rotateAmount旋转value的结果。

实现

适用于