ESRI.ArcGIS.ADF.Web.DataSources
Compare Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > LodInfoComparer Class : Compare Method




x
First LodInfo object.
y
Second LodInfo object.
Compares the scale values for the LodInfo objects.

Syntax

Visual Basic (Declaration) 
Public Function Compare( _
   ByVal x As LodInfo, _
   ByVal y As LodInfo _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As LodInfoComparer
Dim x As LodInfo
Dim y As LodInfo
Dim value As Integer
 
value = instance.Compare(x, y)
C# 
public int Compare( 
   LodInfo x,
   LodInfo y
)

Parameters

x
First LodInfo object.
y
Second LodInfo object.

Return Value

Returns 0 if scales are equal, -1 if first scale is greater, or 1 if second scale is greater.

See Also

© 2010 All Rights Reserved.