EventField.Key.Equality Operador (Object, EventField.Key)
Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public Shared Operator = ( _
obj As Object, _
rightOperand As EventField.Key _
) As Boolean
'Uso
Dim obj As Object
Dim rightOperand As EventField.Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
EventField.Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
EventField.Key^ rightOperand
)
static let inline(=)
obj:Object *
rightOperand:EventField.Key : bool
JScript admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.
Parámetros
- obj
Tipo: System.Object
A System.Object object to compare.
- rightOperand
Tipo: Microsoft.SqlServer.Management.XEvent.EventField.Key
AEventField.Key object.
Valor devuelto
Tipo: System.Boolean
A Boolean value that specifies whether the two specified objects are equal. If True, the two specified objects are equal. If False, the two specified objects are unequal.