com.esri.arcgis.carto
Interface ILayerCacheInfos

All Superinterfaces:
Serializable
All Known Implementing Classes:
LayerCacheInfos

public interface ILayerCacheInfos
extends Serializable

Provides access to the LayerCacheInfo Collection Interface.

Product Availability

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


Method Summary
 void add(ILayerCacheInfo pLayerCacheInfo)
          Adds a LayerCacheInfo.
 int getCount()
          The LayerCacheInfo info count.
 ILayerCacheInfo getElement(int index)
          The LayerCacheInfo at the specified position.
 void insert(int index, ILayerCacheInfo pLayerCacheInfo)
          Adds a LayerCacheInfo at the specified position.
 void remove(int index)
          Removes the LayerCacheInfo at the specified position.
 void removeAll()
          Removes all LayerCacheInfo objects.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The LayerCacheInfo info count.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

ILayerCacheInfo getElement(int index)
                           throws IOException,
                                  AutomationException
The LayerCacheInfo at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayerCacheInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the LayerCacheInfo at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all LayerCacheInfo objects.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(ILayerCacheInfo pLayerCacheInfo)
         throws IOException,
                AutomationException
Adds a LayerCacheInfo.

Product Availability

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

Parameters:
pLayerCacheInfo - A reference to a com.esri.arcgis.carto.ILayerCacheInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

void insert(int index,
            ILayerCacheInfo pLayerCacheInfo)
            throws IOException,
                   AutomationException
Adds a LayerCacheInfo at the specified position.

Product Availability

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

Parameters:
index - The index (in)
pLayerCacheInfo - A reference to a com.esri.arcgis.carto.ILayerCacheInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.