Оператор Equality (Object, Computer.Key)
A Boolean value that specifies whether the specified keys are equal. If true, the keys are equal; otherwise, false.
Пространство имен: 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 поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- obj
Тип: System. . :: . .Object
A Object to compare for equality.
- rightOperand
Тип: Microsoft.SqlServer.Management.Utility. . :: . .Computer. . :: . .Key
A Computer..::..Key to compare for equality.
Возвращаемое значение
Тип: System. . :: . .Boolean
A Boolean value that specifies whether the specified objects are equal. If true, the keys are equal; otherwise, false.