Opérateur EventField.Key.Inequality (Object, EventField.Key)

Determines whether two objects are unequal by performing an inequality operation on an instance of the EventField.Key class and another object.

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 EventField.Key _
) As Boolean
'Utilisation
Dim obj As Object 
Dim rightOperand As EventField.Key 
Dim returnValue As Boolean 

returnValue = (obj <> rightOperand)
public static bool operator !=(
    Object obj,
    EventField.Key rightOperand
)
public:
static bool operator !=(
    Object^ obj, 
    EventField.Key^ rightOperand
)
static let inline(<>)
        obj:Object * 
        rightOperand:EventField.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
A Boolean value that specifies whether the two specified objects are unequal. If True, the two specified objects are unequal. If False, the two specified objects are equal.

Voir aussi

Référence

EventField.Key Classe

Surcharge Inequality

Espace de noms Microsoft.SqlServer.Management.XEvent