EventField.Key.Inequality Operator (EventField.Key, Object)

Determines whether two objects are unequal by performing an inequality operation on a EventField.Key object and another object.

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

Syntax

'Declaration
Public Shared Operator <> ( _
    leftOperand As EventField.Key, _
    obj As Object _
) As Boolean
'Usage
Dim leftOperand As EventField.Key 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = (leftOperand <> obj)
public static bool operator !=(
    EventField.Key leftOperand,
    Object obj
)
public:
static bool operator !=(
    EventField.Key^ leftOperand, 
    Object^ obj
)
static let inline(<>)
        leftOperand:EventField.Key * 
        obj:Object  : 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