Identity
instances specify
the same identity. Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterfaceAssembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)
Usage
Syntax
Visual Basic |
---|
Public Shared Function op_Inequality( _ ByVal id1 As Identity, _ ByVal id2 As Identity _ ) As Boolean |
C# |
---|
public static bool op_Inequality( Identity id1, Identity id2 ); |
C++ |
---|
public: static bool operator !=( Identity^ id1, Identity^ id2 ); |
J# |
---|
public static boolean op_Inequality( Identity id1, Identity id2 ); |
JScript |
---|
public static function op_Inequality( id1 : Identity, id2 : Identity ) : Boolean; |
Parameters
- id1
-
First
Identity
instance to compare.
- id2
-
Second
Identity
instance to compare.
Return Value
True if the given instances of Identity do not specify the same identity, false otherwise.Remarks
Two instances of Identity
are considered
equal if the following conditions are met:
-
The properties of Name, PublicKeyToken, and Language match. This condition is case-sensitive.
-
The properties of ProcessorArchitecture and VersionScope match. This condition is not case-sensitive.
-
The properties of Version match exactly, or at least one of the two identities is null. This condition is not version-dependent.
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.