ESRI.ArcGIS.ADF.Web
IsEqual Method
See Also 
ESRI.ArcGIS.ADF.Web.Geometry Namespace > Envelope Class : IsEqual Method




env
The envelope to compare with the current envelope.
Compares the X, Y and Z values for the envelopes.

Syntax

Visual Basic (Declaration) 
Public Function IsEqual( _
   ByVal env As Envelope _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Envelope
Dim env As Envelope
Dim value As Boolean
 
value = instance.IsEqual(env)
C# 
public bool IsEqual( 
   Envelope env
)

Parameters

env
The envelope to compare with the current envelope.

Return Value

True if all X, Y and Z values are the same, false otherwise.

Remarks

This method compares the numerical values for XMin, XMax, YMin, YMax, ZMin and ZMax, and if all are the same for both envelopes, the method returns true. It does not require that the Envelope objects reference the same object.

Currently this method returns true if one of the values in the current envelope is NaN (not a number), while the respective value in the other envelope is an actual value (e.g., 100).

This method does not currently compare M values (MMin or MMax).

See Also

© 2010 All Rights Reserved.