NumberFormatInfo.ReadOnly Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns a read-only NumberFormatInfo wrapper.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Function ReadOnly ( _ nfi As NumberFormatInfo _ ) As NumberFormatInfo
Parameters
- nfi
- Type: System.Globalization.NumberFormatInfo
The NumberFormatInfo to wrap.
Return Value
Type: System.Globalization.NumberFormatInfoA read-only NumberFormatInfo wrapper around nfi.
| Exception | Condition |
|---|---|
| ArgumentNullException | nfi is Nothing. |
This wrapper prevents any modifications to nfi.
Attempting to perform an assignment to a property of a read-only NumberFormatInfo causes an InvalidOperationException.
Show: