Share via


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

Implements the operator == used to test equality between an instance of DataEventColumnInfo.Key and another object supplied by the obj parameter.

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, _
    obj As Object _
) As Boolean
'Usage
Dim leftOperand As DataEventColumnInfo.Key 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = (leftOperand = obj)
public static bool operator ==(
    DataEventColumnInfo.Key leftOperand,
    Object obj
)
public:
static bool operator ==(
    DataEventColumnInfo.Key^ leftOperand, 
    Object^ obj
)
static let inline(=)
        leftOperand:DataEventColumnInfo.Key * 
        obj:Object  : 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 specified object is equal to the left operand; otherwise, false.

See Also

Reference

DataEventColumnInfo.Key Class

Equality Overload

Microsoft.SqlServer.Management.XEvent Namespace