## GroupCollection::Add method


Disables adding element into collection.

```cpp
void System::Text::RegularExpressions::GroupCollection::Add(const GroupPtr &item) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const GroupPtr\& | Item to add; ignored. |

## See Also

* Typedef [GroupPtr](../../groupptr/)
* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PUB for C++](../../../)
