ArcGIS Pro 2.6 API Reference Guide
MDSaveAsXMLOption Enumeration

ArcGIS.Desktop.Core Namespace : MDSaveAsXMLOption Enumeration
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 10, Windows 8.1, Windows 7

See Also

Reference

ArcGIS.Desktop.Core Namespace