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

包含操作TOther结果的类型TSelf

派生

运营商

名称 说明
BitwiseAnd(TSelf, TOther)

计算两个值的按位和两个值。

BitwiseOr(TSelf, TOther)

计算两个值的按位或两个值。

ExclusiveOr(TSelf, TOther)

计算独占值或两个值。

OnesComplement(TSelf)

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

适用于