System::Globalization::CultureInfo::ReadOnly method

CultureInfo::ReadOnly method

Gets a read only version of culture.

static CultureInfoPtr System::Globalization::CultureInfo::ReadOnly(const CultureInfoPtr &culture_info)
ParameterTypeDescription
culture_infoconst CultureInfoPtr&Culture to wrap as read-only.

ReturnValue

If culture_info is read-only, returns same object, otherwise creates a read-only copy.

See Also