語言

IShiftOperators<TSelf,TOther,TResult>.LeftShift(TSelf, TOther) 運算子

定義

將指定數量留下的值移位。

public:
 static TResult operator <<(TSelf value, TOther shiftAmount);
public static abstract TResult operator <<(TSelf value, TOther shiftAmount);
static member ( <<< ) : 'Self * 'Other -> 'Result
Public Shared Operator << (value As TSelf, shiftAmount As TOther) As TResult

參數

value
TSelf

該值被左移。shiftAmount

shiftAmount
TOther

這個數字 value 會向左移動。

傳回

TResult

左移valueshiftAmount的結果。

適用於