IShiftOperators<TSelf,TOther,TResult>.RightShift(TSelf, TOther) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將值向右移位指定的數量。
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結果。
備註
此操作旨在對有符號類型執行有符號(也稱為算術)右移。