次の方法で共有


Event.Key.Equals メソッド (SfcKey)

Key オブジェクトが SfcKey オブジェクトと等しいかどうかを確認します。

名前空間:  Microsoft.SqlServer.Management.XEvent
アセンブリ:  Microsoft.SqlServer.Management.XEvent (Microsoft.SqlServer.Management.XEvent.dll)

構文

'宣言
Public Overrides Function Equals ( _
    key As SfcKey _
) As Boolean
'使用
Dim instance As Event.Key 
Dim key As SfcKey 
Dim returnValue As Boolean 

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

パラメーター

戻り値

型: System.Boolean
2 つのオブジェクトの等価演算の実行結果を示すブール値です。2 つのオブジェクトが等しい場合は True、それ以外の場合は False です。

実装

IEquatable<T>.Equals(T)

関連項目

参照

Event.Key クラス

Equals オーバーロード

Microsoft.SqlServer.Management.XEvent 名前空間