com.esri.arcgis.carto
Interface IMapLayerInfos

All Superinterfaces:
Serializable
All Known Implementing Classes:
MapLayerInfos

public interface IMapLayerInfos
extends Serializable

Provides access to the Map Layer Info Collection Interface.

Product Availability

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


Method Summary
 void add(IMapLayerInfo mapLayerInfo)
          Adds a map layer info.
 int getCount()
          The map layer info count.
 IMapLayerInfo getElement(int index)
          The map layer info at the specified position.
 void insert(int index, IMapLayerInfo mapLayerInfo)
          Adds a map layer info at the specified position.
 void remove(int index)
          Removes the map layer info at the specified position.
 void removeAll()
          Removes all map layer infos.
 

Method Detail

getCount

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getElement

IMapLayerInfo getElement(int index)
                         throws IOException,
                                AutomationException
The map layer info 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.IMapLayerInfo
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 map layer info at the specified position.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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 map layer infos.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

add

void add(IMapLayerInfo mapLayerInfo)
         throws IOException,
                AutomationException
Adds a map layer info.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

insert

void insert(int index,
            IMapLayerInfo mapLayerInfo)
            throws IOException,
                   AutomationException
Adds a map layer info at the specified position.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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