Determines whether the specified object is equal to the current Identity instance. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim obj As Object
Dim returnValue As Boolean
Dim identity1 As Identity
returnValue = identity1.Equals(obj)

Syntax

Visual Basic
Overloads Public Overrides Function Equals( _
		ByVal obj As Object _
) As Boolean
C#
public override bool Equals(
		object obj
);
C++
public:
virtual bool Equals(
		Object^ obj
) override;
J#
public boolean Equals(
		System.Object obj
);
JScript
public override function Equals(
		 obj : Object
) : Boolean;

Parameters

obj

Object to be compared.

Return Value

True if the given object is an instance of Identity that specifies the same Identity as a current instance, false otherwise.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also