## GroupCollection::get_Item(const String\&) const method


[Group](../../group/) accessor.

```cpp
GroupPtr System::Text::RegularExpressions::GroupCollection::get_Item(const String &name) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | const String\& | [Group](../../group/) name. |

### ReturnValue

[Group](../../group/) with specified name.

## See Also

* Typedef [GroupPtr](../../groupptr/)
* Class [String](../../../system/string/)
* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PDF for C++](../../../)
## GroupCollection::get_Item(int) const method


[Group](../../group/) accessor.

```cpp
GroupPtr System::Text::RegularExpressions::GroupCollection::get_Item(int index) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| index | int | [Group](../../group/) index. |

### ReturnValue

[Group](../../group/) with specified index.

## See Also

* Typedef [GroupPtr](../../groupptr/)
* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PDF for C++](../../../)
