com.esri.arcgis.schematic
Interface INgElementTypes

All Superinterfaces:
Serializable
All Known Implementing Classes:
INgElementTypesProxy, NgElementTypes

public interface INgElementTypes
extends Serializable

Provides access to an enumeration of graphic element types.

Product Availability

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

See Also:
INgElementType

Method Summary
 void add(INgElementType item)
          Adds a new element type in the collection.
 void clear()
          Removes all the element types from the collection.
 Enumeration get_NewEnum()
          Retrieves an IEnumVariant interface that enumerates the collection's content.
 int getCount()
          Number of element types in the collection.
 INgElementType getItem(int index)
          The element type 'index' item in the collection.
 void remove(int index)
          Removes the element type 'index' item from the collection.
 

Method Detail

get_NewEnum

Enumeration get_NewEnum()
                        throws IOException,
                               AutomationException
Retrieves an IEnumVariant interface that enumerates the collection's content. This method supports the FOR EACH statement in VB.

Product Availability

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

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

getItem

INgElementType getItem(int index)
                       throws IOException,
                              AutomationException
The element type 'index' item in the collection.

Product Availability

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

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

getCount

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

Product Availability

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

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

add

void add(INgElementType item)
         throws IOException,
                AutomationException
Adds a new element type in the collection.

Product Availability

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

Parameters:
item - A reference to a com.esri.arcgis.schematic.INgElementType (in)
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 element type 'index' item from the collection.

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.

clear

void clear()
           throws IOException,
                  AutomationException
Removes all the element types from the collection.

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.