System::Globalization::TextInfo::ReadOnly method

TextInfo::ReadOnly method

Gets a read only version of culture.

static TextInfoPtr System::Globalization::TextInfo::ReadOnly(const TextInfoPtr &text_info)
ParameterTypeDescription
text_infoconst TextInfoPtr&TextInfo to wrap as read-only.

ReturnValue

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

See Also