IBitwiseOperators<TSelf,TOther,TResult>.ExclusiveOr 運算子

定義

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

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 Xor (left As TSelf, right As TOther) As TResult

參數

left
TSelf

使用將 值設定 right為 xor。

right
TOther

使用將 值設定 left為 xor。

傳回

TResult

與獨leftright佔或 。

適用於