Npgsql Api Docs |

# BitString.Xor Method

A logical xor between this string and another. The two strings must be the same length.

[Visual Basic]
Public Function Xor( _
ByVal operand As BitString _
) As BitString
[C#]
public BitString Xor(
BitString operand
);

#### Parameters

operand
  Another BitString to XOR with this one.

#### Return Value

A bitstring with 1 where one BitStrings and the other had 0, and 0 where they both had 1 or both had 0.

#### See Also

BitString Class | NpgsqlTypes Namespace