Operatore Action.Key.Equality (Action.Key, Action.Key)

Determines whether two Action.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 Action.Key, _
    rightOperand As Action.Key _
) As Boolean
'Utilizzo
Dim leftOperand As Action.Key 
Dim rightOperand As Action.Key 
Dim returnValue As Boolean 

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

Action.Key Classe

Overload Equality

Spazio dei nomi Microsoft.SqlServer.Management.XEvent