Operatore PredCompareInfo.Key.Equality (Object, PredCompareInfo.Key)
Determines whether a PredCompareInfo.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 PredCompareInfo.Key _
) As Boolean
'Utilizzo
Dim obj As Object
Dim rightOperand As PredCompareInfo.Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
PredCompareInfo.Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
PredCompareInfo.Key^ rightOperand
)
static let inline(=)
obj:Object *
rightOperand:PredCompareInfo.Key : bool
JScript supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.
Parametri
- obj
Tipo: System.Object
A System.Object.
- rightOperand
Tipo: Microsoft.SqlServer.Management.XEvent.PredCompareInfo.Key
A PredCompareInfo.Key object.
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.