---
title: "System::Text::RegularExpressions::GroupCollection::IsReadOnly method"
url: "https://reference.aspose.com/font/cpp/system.text.regularexpressions/groupcollection/isreadonly/"
product: "Aspose.Font for C++"
description: "System::Text::RegularExpressions::GroupCollection::IsReadOnly method. Marks collection as read-only in C++."
---

## GroupCollection::IsReadOnly method


Marks collection as read-only.

```cpp
bool System::Text::RegularExpressions::GroupCollection::IsReadOnly() const
```


### ReturnValue

Always returns true.

## See Also

* Class [GroupCollection](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.Font for C++](../../../)
