Condividi tramite


Operatore Event.Key.Equality (Event.Key, Event.Key)

Determines whether two Event.Key objects are equal.

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

Sintassi

'Dichiarazione
Public Shared Operator = ( _
    leftOperand As Event.Key, _
    rightOperand As Event.Key _
) As Boolean
'Utilizzo
Dim leftOperand As Event.Key 
Dim rightOperand As Event.Key 
Dim returnValue As Boolean 

returnValue = (leftOperand = rightOperand)
public static bool operator ==(
    Event.Key leftOperand,
    Event.Key rightOperand
)
public:
static bool operator ==(
    Event.Key^ leftOperand, 
    Event.Key^ rightOperand
)
static let inline(=)
        leftOperand:Event.Key * 
        rightOperand:Event.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

Event.Key Classe

Overload Equality

Spazio dei nomi Microsoft.SqlServer.Management.XEvent