ArcGIS Pro 2.9 API Reference Guide
RemoveSectionElement Method

ArcGIS.Desktop.Reports Namespace > Report Class : RemoveSectionElement Method
The report section element name.
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, Windows 8.1

See Also

Reference

Report Class
Report Members