語言

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 。

傳回

左旋轉valuerotateAmount的結果。

實作

適用於