## DateTimeFormatInfo::ReadOnly method


Gibt die schreibgeschützte Version des Formatters zurück.

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


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

### ReturnValue

wenn **info** schreibgeschützt ist, gibt sie zurück, andernfalls erstellt sie eine Kopie davon und markiert sie als schreibgeschützt.

## Siehe auch

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