com.esri.arcgis.datasourcesfile
Interface ISMPointsCollection

All Superinterfaces:
Serializable
All Known Implementing Classes:
ISMPointsCollectionProxy, SMPointsCollection

public interface ISMPointsCollection
extends Serializable

Deprecated as of 10.1. Provides access to the collection of geographic points.

Description

Represents the collection of geographic points.

Product Availability

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


Method Summary
 void add(ISMRouterPoint pItem)
          Adds a point to the end of the collection.
 void clear()
          Removes all points from the collection.
 int getCount()
          Number of points in the collection.
 ISMRouterPoint getItem(int position)
          Represents the point in the collection at the specified position.
 void insert(int position, ISMRouterPoint pItem)
          Inserts a point in the collection at the specified position.
 void remove(int position)
          Removes a point from the collection at the specified position.
 

Method Detail

getCount

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

Description

Returns the number of points 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.

getItem

ISMRouterPoint getItem(int position)
                       throws IOException,
                              AutomationException
Represents the point in the collection at the specified position.

Product Availability

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

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

add

void add(ISMRouterPoint pItem)
         throws IOException,
                AutomationException
Adds a point to the end of the collection.

Description

Adds the point to the collection.

Product Availability

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

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

insert

void insert(int position,
            ISMRouterPoint pItem)
            throws IOException,
                   AutomationException
Inserts a point in the collection at the specified position.

Description

Inserts the point to the collection at a specified position.

Product Availability

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

Parameters:
position - The position (in)
pItem - A reference to a com.esri.arcgis.datasourcesfile.ISMRouterPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int position)
            throws IOException,
                   AutomationException
Removes a point from the collection at the specified position.

Description

Removes the point from the collection.

Product Availability

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

Parameters:
position - The position (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

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

Description

Removes all points 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.