Compartilhar via


Operador DataEventColumnInfo.Key.Inequality (Object, DataEventColumnInfo.Key)

Implements the operator != used to test inequality 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

Valor de retorno

Tipo: System.Boolean
Returns false if the specified object is not equal to the right operand; otherwise, true.

Consulte também

Referência

DataEventColumnInfo.Key Classe

Sobrecarregado Inequality

Namespace Microsoft.SqlServer.Management.XEvent