Operador EventField.Key.Equality (EventField.Key, EventField.Key)
Determines whether two objects are equal by performing an equality operation on two EventField.Key objects.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Shared Operator = ( _
leftOperand As EventField.Key, _
rightOperand As EventField.Key _
) As Boolean
'Uso
Dim leftOperand As EventField.Key
Dim rightOperand As EventField.Key
Dim returnValue As Boolean
returnValue = (leftOperand = rightOperand)
public static bool operator ==(
EventField.Key leftOperand,
EventField.Key rightOperand
)
public:
static bool operator ==(
EventField.Key^ leftOperand,
EventField.Key^ rightOperand
)
static let inline(=)
leftOperand:EventField.Key *
rightOperand:EventField.Key : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- leftOperand
Tipo: Microsoft.SqlServer.Management.XEvent.EventField.Key
A EventField.Key object to compare.
- rightOperand
Tipo: Microsoft.SqlServer.Management.XEvent.EventField.Key
A EventField.Key object to compare.
Valor de retorno
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.