Share via


EventField.Key.Equals Method (Object, Object)

Determines whether two objects are equal by performing an equality operation on two instances of the System.Object class.

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

Syntax

'Declaration
Public Shared Function Equals ( _
    obj1 As Object, _
    obj2 As Object _
) As Boolean
'Usage
Dim obj1 As Object 
Dim obj2 As Object 
Dim returnValue As Boolean 

returnValue = EventField.Key.Equals(obj1, obj2)
public static bool Equals(
    Object obj1,
    Object obj2
)
public:
static bool Equals(
    Object^ obj1, 
    Object^ obj2
)
static member Equals : 
        obj1:Object * 
        obj2:Object -> bool
public static function Equals(
    obj1 : Object, 
    obj2 : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
A Boolean object 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