Partager via


Opérateur 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.

Espace de noms :  Microsoft.SqlServer.Management.XEvent
Assembly :  Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)

Syntaxe

'Déclaration
Public Shared Operator <> ( _
    obj As Object, _
    rightOperand As DataEventColumnInfo.Key _
) As Boolean
'Utilisation
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 prend en charge l'utilisation d'opérateurs surchargés, mais pas la déclaration de nouveaux opérateurs.

Paramètres

Valeur de retour

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

Voir aussi

Référence

DataEventColumnInfo.Key Classe

Surcharge Inequality

Espace de noms Microsoft.SqlServer.Management.XEvent