DirectoryMessagesBundle Constructor (String, String, CultureInfo, Boolean) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Provides access to messages that are appropriate for the supplied culture.
Bundles for different cultures are specified in separate directories beneath the
supplied root path.
Namespace:
Telogis.GeoBase.Internationalization
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public DirectoryMessagesBundle(
string rootPath,
string bundleFilename,
CultureInfo culture,
bool debugMode
)
Public Sub New (
rootPath As String,
bundleFilename As String,
culture As CultureInfo,
debugMode As Boolean
)
Parameters
- rootPath
- Type: SystemString
Root path containing directories for different cultures. - bundleFilename
- Type: SystemString
Name of the XML file containing the configuration for a
culture and placed within that culture's subdirectory. - culture
- Type: System.GlobalizationCultureInfo
The bundle's culture. - debugMode
- Type: SystemBoolean
Whether debug mode will be used when generating strings. If
true then MessagesBundleExceptions will be thrown when errors are
encountered. If false then when errors are encountered strings will be generated on a
best effort basis and no MessagesBundleExceptions
will be thrown.
See Also