Bagikan melalui


DtsObject.Equals Method

Determines whether two object instances are equal.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Overrides Function Equals ( _
    otherObj As Object _
) As Boolean
'Usage
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

Parameters

  • otherObj
    Type: System.Object
    The object to compare with the current object.

Return Value

Type: System.Boolean
true indicates that the object instances are equal.

Remarks

This method allows comparison of objects.