aspxtreme

CultureInfo.InvariantCulture Property

System.Globalization Namespace   CultureInfo Class


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

[ VB ]
public Shared ReadOnly Property InvariantCulture As CultureInfo

[ C# ]
public static CultureInfo InvariantCulture {get;}

[ C++ ]
public: __property static CultureInfo* get_InvariantCulture ( );

[ JScript ]
static function get InvariantCulture ( ) : CultureInfo;

Property Value

The CultureInfo that is culture-independent ( invariant ).

Remarks

The invariant culture is culture-insensitive. You can specify the invariant culture by name using an empty string ( "" ). 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. The invariant culture must be used only by processes that require culture-independent results, such as system services; otherwise, it produces results that might be linguistically incorrect or culturally inappropriate.

See Also

CultureInfo Members   CurrentCulture   CurrentUICulture   InstalledUICulture   Parent   IsNeutralCulture



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support aspxtreme