CultureInfo.InvariantCulture Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Syntax

Public Shared ReadOnly Property InvariantCulture As CultureInfo
public static CultureInfo InvariantCulture { get; }

Property Value

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

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

CultureInfo Class

System.Globalization Namespace

CurrentCulture

CurrentUICulture

Parent

IsNeutralCulture