ReadOnly()

DateTimeFormatInfo::ReadOnly(const DateTimeFormatInfoPtr&) method

Gets read-only version of formatter.

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

Arguments

ParameterTypeDescription
infoconst DateTimeFormatInfoPtr&Formatter to get read-only version of.

Return Value

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

See Also