IBitwiseOperators<TSelf,TOther,TResult> インターフェイス

定義

2 つの値に対してビットごとの演算を実行するメカニズムを定義します。

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 TOtherの結果TSelfを格納する型。

派生

演算子

BitwiseAnd(TSelf, TOther)

ビットごとの と の 2 つの値を計算します。

BitwiseOr(TSelf, TOther)

ビットごとのまたは 2 つの値を計算します。

ExclusiveOr(TSelf, TOther)

2 つの値の排他的または排他的を計算します。

OnesComplement(TSelf)

指定された値の 1-補数表現を計算します。

適用対象