ESRI.ArcGIS.ADF.Web
Compare Method
See Also 
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Point Class : Compare Method




other
The Point to compare with the current Point.
Tests whether the current Point has the same coordinates as the second point.

Syntax

Visual Basic (Declaration) 
Public Function Compare( _
   ByVal other As Point _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Point
Dim other As Point
Dim value As Boolean
 
value = instance.Compare(other)
C# 
public bool Compare( 
   Point other
)

Parameters

other
The Point to compare with the current Point.

Return Value

True if all coordinates are the same values, false otherwise.

Remarks

Tests whether the x and y values are equal for the two points. If values are set for the Z (elevation) or M (measure) value for either point, the values for both points must be equal for this method to return true.

See Also

© 2010 All Rights Reserved.