This document is archived and information here might be outdated.  Recommended version.


ITiledMapServer.HasLayerCache Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITiledMapServer Interface > ITiledMapServer.HasLayerCache Method
ArcGIS Developer Help

ITiledMapServer.HasLayerCache Method

Indicates if a given layer has a single tile cache.

[Visual Basic .NET]
Public Function HasLayerCache ( _
    ByVal MapName As String, _
    ByVal LayerID As Integer _
) As Boolean
[C#]
public bool HasLayerCache (
    string MapName,
    int LayerID
);
[C++]
HRESULT HasLayerCache(
  BSTR MapName,
  long LayerID
);
[C++]
Parameters
MapName [in]

MapName is a parameter of type BSTR LayerID [in]
LayerID is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Use this method to discover if a particular layer in a map service with a multi layer cache is cached or not.  If IsFixedScaleMap is true and HasSingleFusedMapCache is false, then the map service has a multi layer cache that is made up of individual layer caches. Not all layers in such a map service need be cached.

See Also

ITiledMapServer Interface