Operador DataEventColumnInfo.Key.Equality (DataEventColumnInfo.Key, Object)
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 = ( _
leftOperand As DataEventColumnInfo.Key, _
obj As Object _
) As Boolean
'Uso
Dim leftOperand As DataEventColumnInfo.Key
Dim obj As Object
Dim returnValue As Boolean
returnValue = (leftOperand = obj)
public static bool operator ==(
DataEventColumnInfo.Key leftOperand,
Object obj
)
public:
static bool operator ==(
DataEventColumnInfo.Key^ leftOperand,
Object^ obj
)
static let inline(=)
leftOperand:DataEventColumnInfo.Key *
obj:Object : 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.DataEventColumnInfo.Key
An instance of DataEventColumnInfo.Key.
- obj
Tipo: System.Object
An Object.
Valor de retorno
Tipo: System.Boolean
Returns true if the specified object is equal to the left operand; otherwise, false.