asp.net.ph

CultureInfo.CurrentCulture Property

System.Globalization Namespace   CultureInfo Class


Gets the CultureInfo that represents the culture used by the current thread.

[ VB ]
public Shared ReadOnly Property CurrentCulture As CultureInfo

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

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

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

Property Value

The CultureInfo that represents the culture used by the current thread.

Remarks

The culture is a property of the executing thread. This read-only property returns Thread.CurrentCulture. When a thread is started, its culture is initially determined by using GetUserDefaultLCID from the Windows API. To change the culture used by a thread, set Thread.CurrentCulture to the new culture.

See Also

CultureInfo Members   ResourceManager   Thread.CurrentCulture   CurrentUICulture   InstalledUICulture   InvariantCulture   Parent Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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