NumberFormatInfo::CurrentInfo Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a read-only NumberFormatInfo that formats values based on the current culture.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

property NumberFormatInfo^ CurrentInfo {
	static NumberFormatInfo^ get();

Property Value

Type: System.Globalization::NumberFormatInfo^

A read-only NumberFormatInfo based on the culture of the current thread.

Retrieving a NumberFormatInfo object from the CurrentInfo property is equivalent to retrieving a NumberFormatInfo object from the CultureInfo.CurrentCulture.NumberFormat property.

The following example shows that the objects returned by the CurrentInfo and CultureInfo.CurrentCulture.NumberFormat properties are identical. It then uses reflection to display the property values of the NumberFormatInfo object returned by the CurrentInfo property on a system whose current culture is en-US.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top