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


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

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

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

Синтаксис

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

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

Параметры

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

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

См. также

Справочник

Computer.Key Класс

Перегрузка Inequality

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