共用方式為


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 的結果。

實作

適用於