ReadOnly()

NumberFormatInfo::ReadOnly(NumberFormatInfoPtr) method

Gets read-only version of formatter.

static NumberFormatInfoPtr System::Globalization::NumberFormatInfo::ReadOnly(NumberFormatInfoPtr nfi)

Arguments

ParameterTypeDescription
nfiNumberFormatInfoPtrFormatter to get read-only version of.

Return Value

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

See Also