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 TOther的结果TSelf的类型。

派生

运算符

BitwiseAnd(TSelf, TOther)

计算两个值的按位和 。

BitwiseOr(TSelf, TOther)

计算两个值的按位或 。

ExclusiveOr(TSelf, TOther)

计算两个值的独占或 。

OnesComplement(TSelf)

计算给定值的补数表示形式。

适用于