ArcGIS Pro 2.6 API Reference Guide
GroupPath Property

ArcGIS.Desktop.TaskAssistant Namespace > TaskInfo Class : GroupPath Property
Gets the path of the task in the task item.
Syntax
public string GroupPath {get;}
Public ReadOnly Property GroupPath As String
Remarks
GroupPath will be empty if the task is not part of a group.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

TaskInfo Class
TaskInfo Members