com.esri.arcgis.catalog
Interface IGxPasteTarget

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxAGSConnection, GxAGSDraftFolder, GxAGSFolder, GxCadDataset, GxCatalog, GxCoverageDataset, GxDatabase, GxDataset, GxDiskConnection, GxFolder, GxFolderConnections, GxGDSGeodatabase, GxPCCoverage, GxRasterDataset, GxRemoteDatabaseFolder, GxSDCDataset, GxSpatialReferencesFolder, GxToolbox, GxToolboxesFolder, GxToolboxesRoot, GxVpfDataset, GxWorkspaceFolder, IGxPasteTargetProxy, IMSFeatureClass, IMSMetadataService, SearchResults, SearchResultsRoot

public interface IGxPasteTarget
extends Serializable

Provides access to members for pasting objects.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean canPaste(IEnumName names, boolean[] moveOperation)
          Indicates if the specified names may be pasted into this object.
 boolean paste(IEnumName names, boolean[] moveOperation)
          Pastes the specified names into this object.
 

Method Detail

canPaste

boolean canPaste(IEnumName names,
                 boolean[] moveOperation)
                 throws IOException,
                        AutomationException
Indicates if the specified names may be pasted into this object. On output, moveOperation indicates if a subsequent paste operation would represent a move, or merely a copy, operation.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
names - A reference to a com.esri.arcgis.system.IEnumName (in)
moveOperation - The moveOperation (in/out: use single element array)
Returns:
The canPaste
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

paste

boolean paste(IEnumName names,
              boolean[] moveOperation)
              throws IOException,
                     AutomationException
Pastes the specified names into this object. On input, moveOperation indicates if this is a move operation. On output, it indicates if the objects have been moved, or merely copied.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
names - A reference to a com.esri.arcgis.system.IEnumName (in)
moveOperation - The moveOperation (in/out: use single element array)
Returns:
The successfulPaste
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.