System::Globalization::DateTimeFormatInfo::ReadOnly Methode

DateTimeFormatInfo::ReadOnly method

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

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