Operador DataEventColumnInfo.Key.Equality (Object, DataEventColumnInfo.Key)
Implements the operator == used to test equality between an instance of DataEventColumnInfo.Key and another object supplied by the obj parameter.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Shared Operator = ( _
obj As Object, _
rightOperand As DataEventColumnInfo.Key _
) As Boolean
'Uso
Dim obj As Object
Dim rightOperand As DataEventColumnInfo.Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
DataEventColumnInfo.Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
DataEventColumnInfo.Key^ rightOperand
)
static let inline(=)
obj:Object *
rightOperand:DataEventColumnInfo.Key : bool
JScript dá suporte ao uso de operadores sobrecarregados, mas não à declaração de operadores novos.
Parâmetros
- obj
Tipo: System.Object
An Object.
- rightOperand
Tipo: Microsoft.SqlServer.Management.XEvent.DataEventColumnInfo.Key
An instance of DataEventColumnInfo.Key.
Valor de retorno
Tipo: System.Boolean
Returns true if the specified object is equal to the right operand; otherwise, false.