ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / DeleteMetadataContent Method

In This Topic
    DeleteMetadataContent Method (Project)
    In This Topic
    Delete certain content from the metadata of the current item. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void DeleteMetadataContent( 
       MDDeleteContentOption deleteOption
    )
    Public Sub DeleteMetadataContent( _
       ByVal deleteOption As MDDeleteContentOption _
    ) 

    Parameters

    deleteOption
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also