次の方法で共有


ActionInfo.Key.Equality 演算子 (Object, ActionInfo.Key)

ActionInfo.Key オブジェクトが、obj パラメーターで指定された System.Object と等しいかどうかを確認します。

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

構文

'宣言
Public Shared Operator = ( _
    obj As Object, _
    rightOperand As ActionInfo.Key _
) As Boolean
'使用
Dim obj As Object 
Dim rightOperand As ActionInfo.Key 
Dim returnValue As Boolean 

returnValue = (obj = rightOperand)
public static bool operator ==(
    Object obj,
    ActionInfo.Key rightOperand
)
public:
static bool operator ==(
    Object^ obj, 
    ActionInfo.Key^ rightOperand
)
static let inline(=)
        obj:Object * 
        rightOperand:ActionInfo.Key  : bool
JScript はオーバーロードされた演算子の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

戻り値

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

関連項目

参照

ActionInfo.Key クラス

Equality オーバーロード

Microsoft.SqlServer.Management.XEvent 名前空間