This document is archived and information here might be outdated. Recommended version. |
Provides access to members that define a metadata editor.
The IMetadataEditor interface has only a Name property and an Edit function for which you need to provide code when creating a Custom Metadata Editor.
Name | Description | |
---|---|---|
Edit | Shows the metadata editor and indicates if the metadata property set was modified. | |
Name | Name of the metadata editor. |
CoClasses and Classes | Description |
---|
The IMetadataEditor interface is available to custom CoClasses that implement the MetadataExport abstract class. For example, a custom CoClass might be written to support editing an ArcGIS item�s metadata to by adding custom XML elements to it. Example custom metadata editors are available in the ArcGIS 9.3.1 Developer Help system.
Custom metadata editors must be called programmatically. This code must determine the selected ArcGIS item and extract its metadata, then pass the resulting XmlPropertySet object to the metadata editor. If the metadata editor�s Edit function reports that the metadata content was modified, the code must save the changes to the item�s Metadata property. The ArcGIS 9.3.1 Developer Help system includes an example button that performed these operations within ArcMap for a layer.