com.esri.arcgis.geodatabase
Interface IFeatureDatasetExtensionContainer

All Superinterfaces:
Serializable
All Known Implementing Classes:
FeatureDataset, IFeatureDatasetExtensionContainerProxy

public interface IFeatureDatasetExtensionContainer
extends Serializable

Provides access to the collection of feature dataset extensions.

Remarks

The IFeatureDatasetExtensionContainer interface provides access to the feature dataset extensions associated with a container. The interface contains members that facilitate finding and using these extensions. The IFeatureDatasetExtensionContainer interface should only be used with datasets contained within a Geodatabase. To access file based datasets, see the IWorkspaceExtensionManager

Product Availability

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


Method Summary
 IFeatureDatasetExtension findExtension(int type)
          Provides access to the feature dataset extension that supports the specified dataset type.
 IFeatureDatasetExtension getExtension(int index)
          Provides access to a feature dataset extension.
 int getExtensionCount()
          The number of feature dataset extensions.
 

Method Detail

getExtensionCount

int getExtensionCount()
                      throws IOException,
                             AutomationException
The number of feature dataset extensions.

Remarks

ExtensionCount returns the number of feature dataset extensions associated with the feature dataset.

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.

getExtension

IFeatureDatasetExtension getExtension(int index)
                                      throws IOException,
                                             AutomationException
Provides access to a feature dataset extension.

Product Availability

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

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

findExtension

IFeatureDatasetExtension findExtension(int type)
                                       throws IOException,
                                              AutomationException
Provides access to the feature dataset extension that supports the specified dataset type.

Remarks

The FindExtension method returns the feature dataset extension for the specified dataset type. Use this method to return a reference to the IDatasetContainer2 interface for working with and creating Network Datasets.

Product Availability

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

Parameters:
type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureDatasetExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.