com.esri.arcgis.geodatabaseui
Interface IExportOperation

All Superinterfaces:
Serializable
All Known Implementing Classes:
ExportOperation

public interface IExportOperation
extends Serializable

Provides access to members used for exporting tables and feature classes.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void exportFeatureClass(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IGeometryDef inputGeometryDef, IFeatureClassName outputFClassName, int parantHWnd)
          Exports the given feature class to a new feature class.
 void exportTable(IDatasetName inputDatasetName, IQueryFilter inputQueryFilter, ISelectionSet inputSelectionSet, IDatasetName outputDatasetName, int parentHWnd)
          Exports the given table to a new table.
 IDatasetName getOptions(IFeatureClass featureClass, String layerName, boolean hasSelection, boolean supportMapProjection, int parentHWnd, boolean[] saveProjection, int[] option)
          Provides a dialog that prompts for export options.
 

Method Detail

getOptions

IDatasetName getOptions(IFeatureClass featureClass,
                        String layerName,
                        boolean hasSelection,
                        boolean supportMapProjection,
                        int parentHWnd,
                        boolean[] saveProjection,
                        int[] option)
                        throws IOException,
                               AutomationException
Provides a dialog that prompts for export options. These include including the output table/feature class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
layerName - The layerName (in)
hasSelection - The hasSelection (in)
supportMapProjection - The supportMapProjection (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
saveProjection - The saveProjection (out: use single element array)
option - A com.esri.arcgis.geodatabaseui.esriExportTableOptions constant (out: use single element array)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDatasetName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportTable

void exportTable(IDatasetName inputDatasetName,
                 IQueryFilter inputQueryFilter,
                 ISelectionSet inputSelectionSet,
                 IDatasetName outputDatasetName,
                 int parentHWnd)
                 throws IOException,
                        AutomationException
Exports the given table to a new table.

Remarks

This method will not export fields with a BLOB type. To retain these fields during an export, use the geoprocessing tool TableToTable.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
inputDatasetName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
inputQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
inputSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
outputDatasetName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
parentHWnd - The parentHWnd (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportFeatureClass

void exportFeatureClass(IDatasetName inputDatasetName,
                        IQueryFilter inputQueryFilter,
                        ISelectionSet inputSelectionSet,
                        IGeometryDef inputGeometryDef,
                        IFeatureClassName outputFClassName,
                        int parantHWnd)
                        throws IOException,
                               AutomationException
Exports the given feature class to a new feature class.

Remarks

This method will not export fields with a BLOB type. To retain these fields during an export, use the geoprocessing tool FeatureClassToFeatureClass.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
inputDatasetName - A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
inputQueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
inputSelectionSet - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
inputGeometryDef - A reference to a com.esri.arcgis.geodatabase.IGeometryDef (in)
outputFClassName - A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)
parantHWnd - The parantHWnd (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.