Оператор Volume.Key.Equality (Object, Volume.Key)
Determines whether the specified object and the right-hand side of the key are equal.
Пространство имен: Microsoft.SqlServer.Management.Utility
Сборка: Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)
Синтаксис
'Декларация
Public Shared Operator = ( _
obj As Object, _
rightOperand As Volume.Key _
) As Boolean
'Применение
Dim obj As Object
Dim rightOperand As Volume.Key
Dim returnValue As Boolean
returnValue = (obj = rightOperand)
public static bool operator ==(
Object obj,
Volume.Key rightOperand
)
public:
static bool operator ==(
Object^ obj,
Volume.Key^ rightOperand
)
static let inline(=)
obj:Object *
rightOperand:Volume.Key : bool
JScript поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- obj
Тип: System.Object
An object that contains the object to compare.
- rightOperand
Тип: Microsoft.SqlServer.Management.Utility.Volume.Key
A key object that contains the right-hand side of the key to compare.
Возвращаемое значение
Тип: System.Boolean
true if the two objects are equal; otherwise, false.