## NumberFormatInfo::ReadOnly method


Gets read-only version of formatter.

```cpp
static NumberFormatInfoPtr System::Globalization::NumberFormatInfo::ReadOnly(NumberFormatInfoPtr nfi)
```


| Parameter | Type | Description |
| --- | --- | --- |
| nfi | NumberFormatInfoPtr | Formatter to get read-only version of. |

### ReturnValue

if **nfi** is read-only, returns it, otherwise creates a copy of it and marks it as read-only.

## See Also

* Typedef [NumberFormatInfoPtr](../../numberformatinfoptr/)
* Class [NumberFormatInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PUB for C++](../../../)
