Share via


EventField.Key.Inequality Operator (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.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    obj As Object, _
    rightOperand As EventField.Key _
) As Boolean
'Usage
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 supports the use of overloaded operators, but not the declaration of new ones.

Parameters

Return Value

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.

See Also

Reference

EventField.Key Class

Inequality Overload

Microsoft.SqlServer.Management.XEvent Namespace