NumberFormatInfo.GetInstance Method (IFormatProvider)
Assembly: mscorlib (in mscorlib.dll)
This method uses the IFormatProvider.GetFormat method of formatProvider using NumberFormatInfo as the Type parameter. If formatProvider is null or if IFormatProvider.GetFormat returns null, this method returns CurrentInfo.
Your application gets a NumberFormatInfo object for a specific culture using one of the following methods:
A NumberFormatInfo object is created only for the invariant culture or for specific cultures, not for neutral cultures. For more information about the invariant culture, specific cultures, and neutral cultures, see the CultureInfo class.
Available since 4.5
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1