ArcObjects Library Reference (CatalogUI)  

IMetadataEditor Interface

Provides access to members that define a metadata editor.

Product Availability

Available with ArcGIS Desktop.

When To Use

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.


Method Edit Shows the metadata editor and indicates if the metadata property set was modified.
Read-only property Name Name of the metadata editor.


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.