ArcGIS Pro 2.6 API Reference Guide
AddGroup(String,Boolean,Boolean,String,String) Method

ArcGIS.Desktop.Reports Namespace > Report Class > AddGroup Method : AddGroup(String,Boolean,Boolean,String,String) Method
The name of the field for the group.
Sort the group field data in ascending order.
Use case sensitive compares when sorting the group field data.
The name of the parent group. If empty, the group will be the topmost group.
The name of the section to add the group.
Adds a group section to the report. This method must be called on the MCT. Use QueuedTask.Run.
Syntax

Parameters

fieldName
The name of the field for the group.
sortAscending
Sort the group field data in ascending order.
caseSensitiveSort
Use case sensitive compares when sorting the group field data.
parentGroupFieldName
The name of the parent group. If empty, the group will be the topmost group.
containerSectionName
The name of the section to add the group.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Report Class
Report Members
Overload List