Public Sub DeleteMetadataContent( _ ByVal deleteOption As MDDeleteContentOption _ )
public void DeleteMetadataContent( MDDeleteContentOption deleteOption )
Parameters
- deleteOption
Public Sub DeleteMetadataContent( _ ByVal deleteOption As MDDeleteContentOption _ )
public void DeleteMetadataContent( MDDeleteContentOption deleteOption )
| 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
featureClassWithMetadataItem.DeleteMetadataContent(MDDeleteContentOption.esriMDDeleteThumbnail);
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)