Operatore EventInfo.Key.Equality (Object, EventInfo.Key)

Determines whether a EventInfo.Key object is equal to another object.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public Shared Operator = ( _
    obj As Object, _
    rightOperand As EventInfo.Key _
) As Boolean
'Utilizzo
Dim obj As Object 
Dim rightOperand As EventInfo.Key 
Dim returnValue As Boolean 

returnValue = (obj = rightOperand)
public static bool operator ==(
    Object obj,
    EventInfo.Key rightOperand
)
public:
static bool operator ==(
    Object^ obj, 
    EventInfo.Key^ rightOperand
)
static let inline(=)
        obj:Object * 
        rightOperand:EventInfo.Key  : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.

Parametri

Valore restituito

Tipo: System.Boolean
A Boolean value that specifies the outcome of performing an equality operation on two objects. If True , the two objects are equal; otherwise False.

Vedere anche

Riferimento

EventInfo.Key Classe

Overload Equality

Spazio dei nomi Microsoft.SqlServer.Management.XEvent