Determines whether two instances of Identity are equal. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim identity1 As Identity
Dim identity2 As Identity
Dim returnValue As Boolean
returnValue = (Identity = identity2)

Syntax

Visual Basic
Public Shared Function op_Equality( _
		ByVal id1 As Identity, _
		ByVal id2 As Identity _
) As Boolean
C#
public static bool op_Equality(
		Identity id1, 
		Identity id2
);
C++
public:
static bool operator ==(
		Identity^ id1,
		Identity^ id2
);
J#
public static boolean op_Equality(
		Identity id1, 
		Identity id2
);
JScript
public static function op_Equality(
		 id1 : Identity, 
		 id2 : Identity
) : Boolean;

Parameters

id1

First Identity to be compared.

id2

Second Identity to be compared.

Return Value

True if the given instances of Identity specify the same Identity, false otherwise.

Remarks

Two instances of Identity are considered equal if the following conditions are true:


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