Share via


ActivityId.Equals Method

Determines whether the specified activity is equal to the current activity.

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

Syntax

'Declaration
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
'Usage
Dim instance As ActivityId 
Dim o As Object 
Dim returnValue As Boolean 

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

Parameters

  • o
    Type: System.Object
    The object that is the activity to compare with the current activity.

Return Value

Type: System.Boolean
true if the specified activity is equal to the current activity; otherwise, false.

See Also

Reference

ActivityId Class

Microsoft.SqlServer.XEvent Namespace