Export (0) Print
Expand All

CultureInfo.InvariantCulture Property

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

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

public static CultureInfo InvariantCulture { get; }
/** @property */
public static CultureInfo get_InvariantCulture ()

public static function get InvariantCulture () : CultureInfo

Property Value

The CultureInfo that is culture-independent (invariant).

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

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft