This document is archived and information here might be outdated.  Recommended version.


IMetadataEditor Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > CatalogUI > ESRI.ArcGIS.CatalogUI > Interfaces > IM > IMetadataEditor Interface
ArcGIS Developer Help

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.

Members

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

Classes that implement IMetadataEditor

Classes Description

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 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.