DataEventColumnInfo.Key.Equality Operator (DataEventColumnInfo.Key, DataEventColumnInfo.Key)

Implements the operator == used to test equality between two instances of DataEventColumnInfo.Key.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    leftOperand As DataEventColumnInfo.Key, _
    rightOperand As DataEventColumnInfo.Key _
) As Boolean
'Usage
Dim leftOperand As DataEventColumnInfo.Key 
Dim rightOperand As DataEventColumnInfo.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand = rightOperand)
public static bool operator ==(
    DataEventColumnInfo.Key leftOperand,
    DataEventColumnInfo.Key rightOperand
)
public:
static bool operator ==(
    DataEventColumnInfo.Key^ leftOperand, 
    DataEventColumnInfo.Key^ rightOperand
)
static let inline(=)
        leftOperand:DataEventColumnInfo.Key * 
        rightOperand:DataEventColumnInfo.Key  : bool
JScript supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
Returns true if the left operand is equal to the right operand; otherwise, false.

See Also

Reference

DataEventColumnInfo.Key Class

Equality Overload

Microsoft.SqlServer.Management.XEvent Namespace