共用方式為


EventField.Key.Equals 方法 (Object)

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

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

語法

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

參數

傳回值

型別: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.

請參閱

參考

EventField.Key 類別

Equals 多載

Microsoft.SqlServer.Management.XEvent 命名空間