Class MetadataCopyHelperClass
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
[Guid("375A6DF7-81B0-4278-B83F-D2BE99694E56")]
[ClassInterface(ClassInterfaceType.None)]
public class MetadataCopyHelperClass : MetadataCopyHelper, ICopyHelper
- Inheritance
-
MetadataCopyHelperClass
- Implements
- Inherited Members
Constructors
MetadataCopyHelperClass()
public MetadataCopyHelperClass()
Explicit Interface Implementations
UpdateDatabaseMetadata(IPropertySet, IDatasetName, IDatasetName)
Call this while creating a copy of a dataset in a geodatabase.
virtual void UpdateDatabaseMetadata(IPropertySet destPropertySet, IDatasetName src, IDatasetName dest)
Parameters
destPropertySetIPropertySetsrcIDatasetNamedestIDatasetName
Remarks
The metadata properties that are updated depend on which metadata synchronizers are enabled, but typically a new dataqual/lineage/procstep element is added (along with child elements) indicating that the dataset was copied from the pSrc location, and the idinfo/citation/citeinfo/onlink property will be changed if the FGDCSynchronizer is enabled.
As noted in the interface description, it usually isn't necessary to call this method, since most ways of copying a dataset through ArcCatalog and ArcObjects will perform this operation automatically.
Note that unlike the UpdateMetadata method, this will not update the metadata associated with either of the name objects, it will only modify the pDestPropertySet property set (which can then be persisted to the pDest name object through the IMetadata interface).
UpdateMetadata(IName, IName, bool)
Call this after creating a copy of a dataset, workspace, or file.
virtual void UpdateMetadata(IName src, IName dest, bool isMove)
Parameters
Remarks
The metadata properties that are updated depend on which metadata synchronizers are enabled, but typically a new dataqual/lineage/procstep element is added (along with child elements) indicating that the dataset was copied from the pSrc location, and the idinfo/citation/citeinfo/onlink property will be changed if the FGDCSynchronizer is enabled.
As noted in the interface description, it usually isn't necessary to call this method, since most ways of copying a dataset through ArcCatalog and ArcObjects will perform this operation automatically.