Version

Equals Method (RefBase)

Overriden. Default implementation returns true if the normalized absolute names of this reference and the passed in reference match. These objects are going to be added to data structure that make use of GetHashCode and Equals methods. What this means is that the normalized absolute name must not change throughout the lifetime of this instance. If it does change then the overriding class must override this method and return a hash code based on some other immutable property of the instance.
Syntax
'Declaration
 
Public Overrides Function Equals( _
   ByVal obj As Object _
) As Boolean
public override bool Equals( 
   object obj
)

Parameters

obj
The reference to compare with this instance.

Return Value

True if the normalized absolute names of this reference and the passed in reference match
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also