## GroupCollection::AddGroup method


Adds group into collection.

```cpp
void System::Text::RegularExpressions::GroupCollection::AddGroup(const GroupPtr &item)
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const GroupPtr\& | Item to add. |

## See Also

* Typedef [GroupPtr](../../groupptr/)
* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PDF for C++](../../../)
