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

Determines whether the specified Object is the same as the object represented by the specified NameKey.

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

Синтаксис

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

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

Параметры

  • obj
    Тип: System.Object
    An object that specifies the first object to compare.

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

Тип: System.Boolean
True if the two objects are the same; otherwise, false.

См. также

Справочник

NameKey Класс

Перегрузка Equality

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