## GroupCollection::idx_get(int) const method


[Group](../../group/) accessor.

```cpp
GroupPtr System::Text::RegularExpressions::GroupCollection::idx_get(int index) const override
```


| 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++](../../../)
## GroupCollection::idx_get(String) const method


[Group](../../group/) accessor.

```cpp
virtual GroupPtr System::Text::RegularExpressions::GroupCollection::idx_get(String name) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | 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++](../../../)
