Identity.Equals Method
Checks whether two objects are equal.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As Identity
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
Parameters
obj
Type: System.ObjectAn object to compare another object to.
Return Value
Type: System.Boolean
true if the objects are equal; otherwise, false.
Remarks
Equals(Object) performs a logical comparison of two identities rather than checking for object equality. If the two identities are temporary and their temporary IDs are equal, or the two identities are not temporary but their identifier counts are equal and each identifier is equal to its counterpart, then the two identities are considered equal.