語言

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 。

傳回

左旋轉valuerotateAmount的結果。

實作

適用於