IShiftOperators<TSelf,TOther,TResult> 介面

定義

定義將值依另一個值移位的機制。

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : IShiftOperators<TSelf, TOther, TResult>public interface class IShiftOperators
public interface IShiftOperators<TSelf,TOther,TResult> where TSelf : IShiftOperators<TSelf,TOther,TResult>
type IShiftOperators<'Self, 'Other, 'Result (requires 'Self :> IShiftOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IShiftOperators(Of TSelf, TOther, TResult)

類型參數

TSelf

實作這個介面的類型。

TOther

用來指定應移位金額 TSelf 的型別。

TResult

型別,包含 由 TResult移位TSelf的結果。

衍生

運算子

LeftShift(TSelf, TOther)

將值左移指定的數量。

RightShift(TSelf, TOther)

以指定的數量向右移值。

UnsignedRightShift(TSelf, TOther)

以指定的數量向右移值。

適用於