com.esri.arcgis.datasourcesraster
Interface IItemTemplateArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
IItemTemplateArrayProxy, ItemTemplateArray

public interface IItemTemplateArray
extends Serializable

Provides access to members that control an item template array.

Product Availability

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


Method Summary
 void add(IItemTemplate pItemTemplate)
          Adds an item template.
 int getCount()
          The property count.
 IItemTemplate getElement(int index)
          Returns the item template at the specified position.
 void insert(int index, IItemTemplate pItemTemplate)
          Adds an item template at the specified position.
 void remove(int index)
          Removes the item template at the specified position.
 void removeAll()
          Removes all item templates.
 

Method Detail

getCount

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

IItemTemplate getElement(int index)
                         throws IOException,
                                AutomationException
Returns the item template 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.datasourcesraster.IItemTemplate
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 item template 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 item templates.

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(IItemTemplate pItemTemplate)
         throws IOException,
                AutomationException
Adds an item template.

Product Availability

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

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

insert

void insert(int index,
            IItemTemplate pItemTemplate)
            throws IOException,
                   AutomationException
Adds an item template at the specified position.

Product Availability

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

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