System.Globalization.CultureInfo.ReadOnly Method

Returns a read-only wrapper around the specified System.Globalization.CultureInfo.

Syntax

public static CultureInfo ReadOnly (CultureInfo ci)

Parameters

ci
The System.Globalization.CultureInfo to wrap.

Returns

A read-only System.Globalization.CultureInfo wrapper around ci.

Remarks

This wrapper prevents any modifications to ci, or the objects returned by the ci.CultureInfo.DateTimeFormat and ci.CultureInfo.NumberFormat properties.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0