MDDeleteContentOption Enumeration
Enumeration of options for upgrading an item’s metadata to the ArcGIS metadata format. This option is provided to update metadata that was
created with ArcGIS Desktop 8.x or 9.x..
Item: Delete certain content from the metadata of the current item: DeleteMetadataContent
Item featureClassWithMetadataItem = ItemFactory.Instance.Create(@"C:\projectBeta\GDBs\regionFive.gdb\SourceFeatureClass");
//Delete thumbnail content from item's metadata
await QueuedTask.Run(() => featureClassWithMetadataItem.DeleteMetadataContent(MDDeleteContentOption.esriMDDeleteThumbnail));
System.Object
System.ValueType
System.Enum
ArcGIS.Desktop.Core.MDDeleteContentOption
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.0 or higher.