語言

IShiftOperators<TSelf,TOther,TResult>.RightShift(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

右移 value 的 shiftAmount結果。

備註

此操作旨在對有符號類型執行有符號(也稱為算術)右移。

適用於