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

ArcGIS.Desktop.Reports Namespace > Report Class > AddGroup Method : AddGroup(String,Boolean,Boolean,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.
Adds a group section to the report. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Overloads Sub AddGroup( _
   ByVal fieldName As String, _
   ByVal sortAscending As Boolean, _
   ByVal caseSensitiveSort As Boolean, _
   ByVal parentGroupFieldName As String _
) 

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.
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