Share via


DataEventColumnInfo.Key.Inequality Operator (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 (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

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

Parameters

Return Value

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

See Also

Reference

DataEventColumnInfo.Key Class

Inequality Overload

Microsoft.SqlServer.Management.XEvent Namespace