Condividi tramite


Operatore PredCompareInfo.Key.Equality (PredCompareInfo.Key, PredCompareInfo.Key)

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

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

PredCompareInfo.Key Classe

Overload Equality

Spazio dei nomi Microsoft.SqlServer.Management.XEvent