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


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

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

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

Синтаксис

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

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

Параметры

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

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

См. также

Справочник

Computer.Key Класс

Перегрузка Equality

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