Equals Method (Object)
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Indicates whether the current object is equal to another object of the same type.
Namespace: Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly: Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As Address
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
Parameters
- obj
Type: System.Object
Return Value
Type: System.Boolean
A value indicating whether the specified object is equal to this instance.