ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Reports Namespace / Report Class / RemoveSectionElement Method
The report section element name.

In This Topic
    RemoveSectionElement Method
    In This Topic
    Removes the report section element from the report. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void RemoveSectionElement( 
       string sectionName
    )
    Public Sub RemoveSectionElement( _
       ByVal sectionName As String _
    ) 

    Parameters

    sectionName
    The report section element name.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    The sectionName is empty or null.
    The sectionElement is not valid.
    Cannot remove last report section.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also