IBitwiseOperators<TSelf,TOther,TResult> 介面

定義

定義在兩個值上執行位運算的機制。

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

類型參數

TSelf

實作這個介面的類型。

TOther

與 作業中使用的型別 TSelf

TResult

包含 op 結果的 TSelf 型別 TOther

衍生

運算子

BitwiseAnd(TSelf, TOther)

計算兩個值的位和 。

BitwiseOr(TSelf, TOther)

計算兩個值的位或 。

ExclusiveOr(TSelf, TOther)

計算兩個值的獨佔或兩個值。

OnesComplement(TSelf)

計算指定值的一補數標記法。

適用於