Provides access to members that define a metadata editor.
Product Availability
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.
Members
Description | ||
---|---|---|
Edit | Shows the metadata editor and indicates if the metadata property set was modified. | |
Name | Name of the metadata editor. |
Remarks
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 items 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 editors Edit function reports that the metadata content was modified, the code must save the changes to the items Metadata property. The ArcGIS 9.3.1 Developer Help system includes an example button that performed these operations within ArcMap for a layer.