NumberFormatInfo.GetFormat Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets an object of the specified type that provides a numeric formatting service.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- formatType
- Type: System.Type
The Type of the required formatting service.
Return Value
Type: System.ObjectThe current NumberFormatInfo object, if formatType is an object of type NumberFormatInfo; otherwise, Nothing.
Implements
IFormatProvider.GetFormat(Type)The numeric formatting and parsing methods that include a parameter of type IFormatProvider invoke this method when the current NumberFormatInfo object is passed as the IFormatProvider parameter. This method implements IFormatProvider.GetFormat.
Show: