com.esri.arcgis.carto
Interface IEditTemplateManager

All Superinterfaces:
Serializable
All Known Implementing Classes:
EditTemplateManager

public interface IEditTemplateManager
extends Serializable

IEditTemplateManager Interface

Remarks

Feature templates for a layer can be accessed via this interface as a layer extension. The methods on this interface can be used outside an edit session.

The example below returns all feature templates from the layers in a map document to an array.

Product Availability

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


Method Summary
 int getCount()
          The number of available edit templates.
 IEditTemplate getEditTemplate(int index)
          The edit template at the specified index.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The number of available edit templates.

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.

getEditTemplate

IEditTemplate getEditTemplate(int index)
                              throws IOException,
                                     AutomationException
The edit template 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.IEditTemplate
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.