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


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

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 = ( _
    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 true if the specified object is equal to the right operand; otherwise, false.

См. также

Справочник

DataEventColumnInfo.Key Класс

Перегрузка Equality

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