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

ArcGIS.Desktop.Reports Namespace > Report Class > RemoveGroups Method : RemoveGroups(IEnumerable<String>) Method
The array of group field names.
Removes the group from the report. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void RemoveGroups( 
   IEnumerable<string> groupFieldNames
)
Public Overloads Sub RemoveGroups( _
   ByVal groupFieldNames As IEnumerable(Of String) _
) 

Parameters

groupFieldNames
The array of group field names.
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, Windows 7

See Also

Reference

Report Class
Report Members
Overload List