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


Оператор DataEventColumnInfo.Key.Equality (DataEventColumnInfo.Key, Object)

Implements the operator == used to test equality 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 = ( _
    leftOperand As DataEventColumnInfo.Key, _
    obj As Object _
) As Boolean
'Применение
Dim leftOperand As DataEventColumnInfo.Key 
Dim obj As Object 
Dim returnValue As Boolean 

returnValue = (leftOperand = obj)
public static bool operator ==(
    DataEventColumnInfo.Key leftOperand,
    Object obj
)
public:
static bool operator ==(
    DataEventColumnInfo.Key^ leftOperand, 
    Object^ obj
)
static let inline(=)
        leftOperand:DataEventColumnInfo.Key * 
        obj:Object  : bool
JScript поддерживает использование перегруженных операторов, но не объявление новых.

Параметры

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

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

См. также

Справочник

DataEventColumnInfo.Key Класс

Перегрузка Equality

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