ESRI.ArcGIS.ADF.Web.DataSources
Compare(TileCacheInfo,Boolean) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > TileCacheInfo Class > Compare Method : Compare(TileCacheInfo,Boolean) Method




other
TileCacheInfo object to compare against.
compareLevels
Whether to include a comparison of the levels of detail (LodInfos) of the cache.
Compares this TileCacheInfo instance to another TileCacheInfo instance.

Syntax

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

Parameters

other
TileCacheInfo object to compare against.
compareLevels
Whether to include a comparison of the levels of detail (LodInfos) of the cache.

Return Value

True if equal for all properties, false if not equal.

Remarks

If compareLevels is false, the properties of the two TileCacheInfo objects are compared, except for their levels of detail (LodInfos). If compareLevels is true, all LodInfos must compare as equal in order to return true for this method.

See Also

© 2010 All Rights Reserved.