Share via


EventField.Key.Equals Method (Object)

Determines whether two objects are equal by performing an equality operation on an instance of the EventField.Key class and another object.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As EventField.Key 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = instance.Equals(obj)
public override bool Equals(
    Object obj
)
public:
virtual bool Equals(
    Object^ obj
) override
abstract Equals : 
        obj:Object -> bool  
override Equals : 
        obj:Object -> bool
public override function Equals(
    obj : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
A Boolean value that specifies whether the two specified objects are equal. If True, the two specified objects are equal. If False, the two specified objects are unequal.

See Also

Reference

EventField.Key Class

Equals Overload

Microsoft.SqlServer.Management.XEvent Namespace