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

## MatchCollection::IsReadOnly method


Marks collection as read-only.

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


### ReturnValue

Always returns true.

## See Also

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