dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Int16 Structure / Exclusive Or Operator
First DB2Int16.
Second DB2Int16.

In This Topic
    Exclusive Or Operator (DB2Int16)
    In This Topic
    Compares each corresponding bit of a value of the first given DB2Int16 structure to the corresponding bit of a value of the second given DB2Int16 structure. If both bits are the same (both are 0's or both are 1's), the corresponding bit of the result value is set to 0. Otherwise, it sets the corresponding result value bit to 1.
    Syntax
    'Declaration
     
    Public Operator Xor( _
       ByVal x As DB2Int16, _
       ByVal y As DB2Int16 _
    ) As DB2Int16
    public DB2Int16 operator ^( 
       DB2Int16 x,
       DB2Int16 y
    )

    Parameters

    x
    First DB2Int16.
    y
    Second DB2Int16.

    Return Value

    A new DB2Int16 structure.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also