Click or drag to resize

NavigationManagerChangeCulture Method (String, String, Boolean)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Change the culture of this NavigationManager.

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public void ChangeCulture(
	string langPath,
	string cultureName,
	bool debugMode
)

Parameters

langPath
Type: SystemString
Path to languages directory.
cultureName
Type: SystemString
The name of the new culture, eg en-US.
debugMode
Type: SystemBoolean
Whether to use debug mode.
Exceptions
ExceptionCondition
NavigationManagerNotSuspendedExceptionThrown when attempting to change culture without NavigationManager suspended.
Remarks
When in debug mode, the NavigationManager will raise MessagesBundleExceptions when errors are found in the language configuration file, and will print to the console the names of sound files as they are played. When errors are found in the language configuration file and the NavigationManager is not in debug mode it will proceed on a best effort basis.
Remarks
The value can only be changed if the NavigationManager is suspended.
See Also