共用方式為


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

實作

適用於