This topic has not yet been rated - Rate this topic

CultureInfo.InvariantCulture Property

April 12, 2014

Gets the CultureInfo that is culture-independent (invariant).

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)
public static CultureInfo InvariantCulture { get; }

Property Value

Type: System.Globalization.CultureInfo
The CultureInfo that is culture-independent (invariant).

The invariant culture is culture-insensitive. Your application specifies the invariant culture by name using an empty string ("") or by its language identifier. InvariantCulture retrieves an instance of the invariant culture. It is associated with the English language but not with any country/region. It is used in almost any method in the System.Globalization namespace that requires a culture.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.