Operatore TargetField.Key.Equality (Object, TargetField.Key)
Determines whether a TargetField.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 TargetField.Key _
) As Boolean
'Utilizzo
Dim obj As Object
Dim rightOperand As TargetField.Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
TargetField.Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
TargetField.Key^ rightOperand
)
static let inline(=)
obj:Object *
rightOperand:TargetField.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 to compare.
- rightOperand
Tipo: Microsoft.SqlServer.Management.XEvent.TargetField.Key
A TargetField.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.