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

## CaptureCollection::get_IsReadOnly method


Marks collection as read-only.

```cpp
bool System::Text::RegularExpressions::CaptureCollection::get_IsReadOnly() const override
```


### ReturnValue

Always returns true.

## See Also

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