DateTimeFormatInfo.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 DateTimeFormatInfo wrapper.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Shared Function ReadOnly ( _ dtfi As DateTimeFormatInfo _ ) As DateTimeFormatInfo
Parameters
- dtfi
- Type: System.Globalization.DateTimeFormatInfo
The DateTimeFormatInfo to wrap.
Return Value
Type: System.Globalization.DateTimeFormatInfoA read-only DateTimeFormatInfo wrapper around dtfi.
| Exception | Condition |
|---|---|
| ArgumentNullException | dtfi is Nothing. |
Show: