ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core Namespace / MDSaveAsXMLOption Enumeration

In This Topic
    MDSaveAsXMLOption Enumeration
    In This Topic
    Enumeration of options for saving an item’s metadata to an ArcGIS metadata format XML file. The item’s ArcGIS metadata content can be saved to an XML document where the content continues to be stored in the ArcGIS metadata XML format. The amount of content that is filtered out of the item’s metadata depends on the option selected.
    Syntax
    Members
    MemberDescription
    esriExactCopy Save a copy of the item’s metadata to an ArcGIS metadata format XML file. The content is not filtered.
    esriMetadataTemplate Save a copy of the authored metadata content in the item’s metadata to an ArcGIS metadata format XML file. The item’s synchronized properties, thumbnail, and geoprocessing history are not included. The resulting file can be used as a metadata template.
    esriRemoveAllSensitive Save a copy of the item’s metadata to an ArcGIS format XML file. The content is filtered to withhold local file paths, database connection information, URLs that do not begin with http or https, and so on, if it is present.
    esriRemoveMachineNames Save a copy of the item’s metadata to an ArcGIS format XML file. The content is filtered to remove machine names from UNC paths, if they are present.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ArcGIS.Desktop.Core.MDSaveAsXMLOption

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also