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


Метод Equals

Determines whether two object instances are equal.

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

Синтаксис

'Декларация
Public Overrides Function Equals ( _
    otherObj As Object _
) As Boolean
'Применение
Dim instance As DtsObject
Dim otherObj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(otherObj)
public override bool Equals(
    Object otherObj
)
public:
virtual bool Equals(
    Object^ otherObj
) override
abstract Equals : 
        otherObj:Object -> bool 
override Equals : 
        otherObj:Object -> bool 
public override function Equals(
    otherObj : Object
) : boolean

Параметры

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

Тип: System. . :: . .Boolean
true indicates that the object instances are equal.

Замечания

This method allows comparison of objects.