com.esri.arcgis.carto
Interface IMapServerGroupLayer

All Superinterfaces:
Serializable
All Known Implementing Classes:
IMapServerGroupLayerProxy, MapServerBasicSublayer, MapServerFindSublayer, MapServerIdentifySublayer, MapServerLayer, MapServerQuerySublayer

public interface IMapServerGroupLayer
extends Serializable

Provides access to map server sublayers.

Product Availability

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


Method Summary
 int getCount()
          Number of layers in the collection.
 ILayer getLayer(int index)
          Layer in the collection at the specified index.
 void showLayers(boolean show, ILongArray layerIds)
          Shows/ hides the layers given layer ids.
 

Method Detail

showLayers

void showLayers(boolean show,
                ILongArray layerIds)
                throws IOException,
                       AutomationException
Shows/ hides the layers given layer ids.

Product Availability

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

Parameters:
show - The show (in)
layerIds - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws IOException,
                    AutomationException
Number of layers in the collection.

Product Availability

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

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

getLayer

ILayer getLayer(int index)
                throws IOException,
                       AutomationException
Layer in the collection at the specified index.

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.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.