Tests whether the specified object and the current object refer to the same underlying object.

Namespace:  ESRI.ArcGISExplorer.Geometry

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public override bool Equals(
	Object obj
)
Visual Basic (Declaration)
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean

Parameters

obj
Type: System..::.Object

An object to compare to the current object.

Return Value

trueTruetruetrue (True in Visual Basic) if the two objects refer to the same underlying object; otherwise, falseFalsefalsefalse (False in Visual Basic).

Remarks

The Equals method compares two types for reference or object equality; it compares the current object and the parameter obj to see if they refer to the same object. This method does not compare the properties of the two objects to see if they have equivalent values. For further information, see the help for the Equals method on System.Object.

See Also