com.esri.arcgis.geodatabase
Interface IDatasetComponent

All Superinterfaces:
Serializable
All Known Subinterfaces:
IDatasetComponent2
All Known Implementing Classes:
CadastralFabric, IDatasetComponent2Proxy, IDatasetComponentProxy, MosaicDataset, NetworkDataset, RepresentationClass, Terrain

public interface IDatasetComponent
extends Serializable

Provides access to the common functionality found on all dataset components.

Superseded By

IDatasetComponent2

Remarks

The IDatasetComponent interface is used to access the data element and parent dataset of this dataset.

Product Availability

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


Method Summary
 IDEDataset getDataElement()
          The data element corresponding to the dataset component.
 IDataset getParent()
          The containing parent dataset.
 

Method Detail

getDataElement

IDEDataset getDataElement()
                          throws IOException,
                                 AutomationException
The data element corresponding to the dataset component.

Remarks

The DataElement method is used to access the data element for this dataset component.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.IDEDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParent

IDataset getParent()
                   throws IOException,
                          AutomationException
The containing parent dataset.

Remarks

Returns the parent of the dataset component. For example, for geodatabase network datasets this will return the containing feature dataset.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.