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


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

Determines whether the specified object key is equal to the object.

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

Синтаксис

'Декларация
Public Shared Operator = ( _
    leftOperand As Computer.Key, _
    obj As Object _
) As Boolean
'Применение
Dim leftOperand As Computer.Key 
Dim obj As Object 
Dim returnValue As Boolean 

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

Параметры

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

Тип: System.Boolean
A Boolean which is true if the two operands are equal, otherwise false.

См. также

Справочник

Computer.Key Класс

Перегрузка Equality

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