FeatureClass Copy

时间:2020-11-29 06:54:44

http://edndoc.esri.com/arcobjects/9.2/NET/c45379b5-fbf2-405c-9a36-ea6690f295b2.htm

Method
What is transferred
Works with query filter
Crosses data sources
Works with edit session
ArcGIS Desktop/
ArcGIS Engine
IFeatureDataConverter[2]
Single table, feature class, or feature dataset
True
True
False
Both
IGeoDBDataTransfer
Multiple tables, feature classes, and/or feature datasets, and domains from geodatabases
False
False
False
Both
IExportOperation (GeodatabaseUI)
Single table or feature class
True
True
False
ArcGIS Desktop
IDataset.Copy
Single dataset from a
file-based data source
False
False
False
Both
IWorkspaceFactory
(Copy and Move methods)
Local (personal or file) geodatabase, or an SDE connection file
False
False
False
Both
IGdbXmlExport and IGdbXmlImport (GeoDatabaseDistributed)
Entire workspace (schema, data optional), one or more datasets (schema, data optional), or a record set *
False
False
False
Both
IObjectLoader (EditorExt)
Individual rows from one dataset to another existing dataset
True
True
True
ArcGIS Desktop
* The IGdbXmlExport and IGdbXmlImport interfaces indirectly transfer data between geodatabases by first converting the dataset schema (and, optionally, the data) to Extensible Markup Language (XML), then from XML back to its original form.