## DateTimeFormatInfo::ReadOnly method


Liefert die schreibgeschützte Version des Formatierers.

```cpp
static DateTimeFormatInfoPtr System::Globalization::DateTimeFormatInfo::ReadOnly(const DateTimeFormatInfoPtr &info)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| info | const DateTimeFormatInfoPtr\& | Formatierer, um die schreibgeschützte Version zu erhalten. |

### ReturnValue

Wenn **info** schreibgeschützt ist, wird sie zurückgegeben, andernfalls wird eine Kopie davon erstellt und als schreibgeschützt markiert.

## Siehe auch

* Typedef [DateTimeFormatInfoPtr](../../datetimeformatinfoptr/)
* Class [DateTimeFormatInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
