共用方式為


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.