com.esri.arcgis.schematic
Interface INgDataSources

All Superinterfaces:
Serializable
All Known Implementing Classes:
INgDataSourcesProxy, NgDataSources

public interface INgDataSources
extends Serializable

Provides access to an enumeration of datasources.

Product Availability

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

See Also:
INgDataSource

Method Summary
 void add(INgDataSource item)
          Adds a new datasource in the collection.
 void clear()
          Removes all the datasources from the collection.
 Enumeration get_NewEnum()
          Retrieves an IEnumVariant interface that enumerates the collection's content.
 int getCount()
          Number of datasources in the collection.
 INgDataSource getItem(int index)
          The datasource 'index' item in the collection.
 void remove(int index)
          Removes the datasource '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

INgDataSource getItem(int index)
                      throws IOException,
                             AutomationException
The datasource '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.INgDataSource
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws IOException,
                    AutomationException
Number of datasources 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(INgDataSource item)
         throws IOException,
                AutomationException
Adds a new datasource in the collection.

Product Availability

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

Parameters:
item - A reference to a com.esri.arcgis.schematic.INgDataSource (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 datasource '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 datasources 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.