IBitwiseOperators<TSelf,TOther,TResult>.BitwiseOr(TSelf, TOther) 運算子

定義

計算兩個值的位或 。

public:
 static TResult operator |(TSelf left, TOther right);
public static abstract TResult operator | (TSelf left, TOther right);
static member ( ||| ) : 'Self * 'Other -> 'Result
Public Shared Operator Or (left As TSelf, right As TOther) As TResult

參數

left
TSelf

使用right的值or

right
TOther

使用left的值or

傳回

TResult

與的位或 leftright

適用於