共用方式為


ActivityId.Equals 方法

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

命名空間:  Microsoft.SqlServer.XEvent
組件:  Microsoft.SqlServer.XEvent.Linq (在 Microsoft.SqlServer.XEvent.Linq.dll 中)

語法

'宣告
Public Overrides Function Equals ( _
    o As Object _
) As Boolean
'用途
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

參數

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

傳回值

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

請參閱

參考

ActivityId 類別

Microsoft.SqlServer.XEvent 命名空間