ESRI.ArcGIS.Mobile.Client
ReadCustomUICultureFromFile Method
See Also  Send Feedback
LocaleHelper Namespace > LocaleHelper Class : ReadCustomUICultureFromFile Method

LocaleHelper reads the custom UI culture from _localeSettingsFilename, if it is present. It then sets it as the CurrentUICuture for the app These are the only properties used from CurrentUICulture CultureInfo.Name -- the property that identifies what those resources will be tagged with and what their subdirectory names will be; CultureInfo.Parent -- the property that give you the fallback to use when there are no resources with this name1; CultureInfo.[DisplayName|EnglishName|NativeName] -- the properties that let you tell a user what the language is; CultureInfo,TextInfo.IsRightToLeft -- the property that can be useful since it lets one know when to mirror the user interface, etc.; CultureInfo.LCID -- the property that you can use when dealing with resources using the old way of doing things. from http://blogs.msdn.com/b/michkap/archive/2007/01/10/1442340.aspx

Syntax

Visual Basic (Declaration) 
Public Shared Function ReadCustomUICultureFromFile() As Integer
C# 
public static int ReadCustomUICultureFromFile()

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also