System::Globalization::NumberFormatInfo::ReadOnly method

NumberFormatInfo::ReadOnly method

Gets read-only version of formatter.

static NumberFormatInfoPtr System::Globalization::NumberFormatInfo::ReadOnly(NumberFormatInfoPtr nfi)
ParameterTypeDescription
nfiNumberFormatInfoPtrFormatter to get read-only version of.

ReturnValue

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

See Also