public void DeleteMetadataContent( MDDeleteContentOption deleteOption )
Public Sub DeleteMetadataContent( _ ByVal deleteOption As MDDeleteContentOption _ )
Parameters
- deleteOption
public void DeleteMetadataContent( MDDeleteContentOption deleteOption )
Public Sub DeleteMetadataContent( _ ByVal deleteOption As MDDeleteContentOption _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
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));
Target Platforms: Windows 11, Windows 10, Windows 8.1