ArcGIS Pro 2.8 API Reference Guide
RemoveGroups(IEnumerable<String>,IEnumerable<String>) Method

ArcGIS.Desktop.Reports Namespace > Report Class > RemoveGroups Method : RemoveGroups(IEnumerable<String>,IEnumerable<String>) Method
The array of group field names.
The array of section names containing group.
Removes the group from the report. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

groupFieldNames
The array of group field names.
parentSectionNames
The array of section names containing group.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
The report does not have a valid report section.
The group field names must be associated by a header and footer section.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Report Class
Report Members
Overload List