## CaptureCollection::Add method


Disables collection ammendment.

```cpp
void System::Text::RegularExpressions::CaptureCollection::Add(const CapturePtr &item) override
```


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

## See Also

* Typedef [CapturePtr](../../captureptr/)
* Class [CaptureCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PUB for C++](../../../)
