
## get_TaskGroups {#get_taskgroups}

Gets all the task-based group definitions. TaskGroups is a collection of Group objects.

**Returns:** System::SharedPtr< GroupCollection > Aspose::Tasks::

```cpp
get_TaskGroups()
```

