InstanceKey.Equals Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Compares the GUID associated with the current object (stored in the Value property) with the GUID associated with the InstanceKey object.
Namespace: System.Runtime.Persistence
Assembly: System.Runtime (in System.Runtime.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As InstanceKey
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
public:
virtual bool Equals(
Object^ obj
) override
abstract Equals :
obj:Object -> bool
override Equals :
obj:Object -> bool
Parameters
- obj
Type: System.Object
The GUID to be compared with the current object.
Return Value
Type: System.Boolean
true if the GUIDs are same; otherwise returns false.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4
.NET Framework Client Profile
Supported in: 4