wiki.webgear.co.nz Logo
RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy
Using the CurrentUICulture Property

The CultureInfo.CurrentUICulture property is a per-thread setting that returns the current user interface culture. This property is used by the ResourceManager class to look up culture-specific resources at run time. You can use a neutral or specific culture, or the InvariantCulture to set the CurrentUICulture property. You can use the Thread.CurrentThread property to set CurrentCulture. For more information, see the examples provided later in this topic.

Using the CurrentCulture Property

The CultureInfo.CurrentCulture property is a per-thread setting that determines the default formats for dates, times, currency, and numbers, the sorting order of text, string comparisons, and casing. The CurrentCulture property is not a language setting. It contains only data related to the standard settings for a geographical region. Therefore, the CurrentCulture property can only be set to a specific culture or to the InvariantCulture. You can use the Thread.CurrentThread property to set CurrentCulture. For more information, see the examples provided later in this topic.

© webgear.co.nz 2007-2010

Powered by ScrewTurn Wiki version 3.0.4.560. Some of the icons created by FamFamFam.