System::Globalization::DateTimeFormatInfo::ReadOnly Methode

DateTimeFormatInfo::ReadOnly method

Liefert die schreibgeschützte Version des Formatierers.

static DateTimeFormatInfoPtr System::Globalization::DateTimeFormatInfo::ReadOnly(const DateTimeFormatInfoPtr &info)
ParameterTypBeschreibung
infoconst 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