Поделиться через


Оператор 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.

Пространство имен:  Microsoft.SqlServer.Management.XEvent
Сборка:  Microsoft.SqlServer.Management.XEvent (в Microsoft.SqlServer.Management.XEvent.dll)

Синтаксис

'Декларация
Public Shared Operator <> ( _
    obj As Object, _
    rightOperand As DataEventColumnInfo.Key _
) As Boolean
'Применение
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 поддерживает использование перегруженных операторов, но не объявление новых.

Параметры

Возвращаемое значение

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

См. также

Справочник

DataEventColumnInfo.Key Класс

Перегрузка Inequality

Пространство имен Microsoft.SqlServer.Management.XEvent