## CaptureCollection::AddCapture method


Service method to add capture into collection.

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


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

## See Also

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