com.esri.arcgis.carto
Interface ILayerDescriptions

All Superinterfaces:
Serializable
All Known Implementing Classes:
LayerDescriptions

public interface ILayerDescriptions
extends Serializable

Provides access to the Layer Descriptions Interface.

Product Availability

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


Method Summary
 void add(ILayerDescription layerDescription)
          Adds a layer description.
 int getCount()
          The layer description count.
 ILayerDescription getElement(int index)
          The layer description at the specified position.
 void insert(int index, ILayerDescription layerDescription)
          Adds a layer description at the specified position.
 void remove(int index)
          Removes the layer description at the specified position.
 void removeAll()
          Removes all layer descriptions.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The layer description 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

ILayerDescription getElement(int index)
                             throws IOException,
                                    AutomationException
The layer description 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.ILayerDescription
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 layer description 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 layer descriptions.

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(ILayerDescription layerDescription)
         throws IOException,
                AutomationException
Adds a layer description.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

insert

void insert(int index,
            ILayerDescription layerDescription)
            throws IOException,
                   AutomationException
Adds a layer description 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)
layerDescription - A reference to a com.esri.arcgis.carto.ILayerDescription (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.