Returns the localized string for the specified culture.

Namespace:  C1.WPF.Localization
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public static string GetString(
	string resourceAssembly,
	string resourceDictionary,
	string resourceKey,
	string defaultValue,
	CultureInfo culture
)
Visual Basic (Declaration)
Public Shared Function GetString ( _
	resourceAssembly As String, _
	resourceDictionary As String, _
	resourceKey As String, _
	defaultValue As String, _
	culture As CultureInfo _
) As String

Parameters

resourceAssembly
Type: System..::..String
The name of resource assembly.
resourceDictionary
Type: System..::..String
The name of resource dictionary.
resourceKey
Type: System..::..String
The resource key.
defaultValue
Type: System..::..String
The default value.
culture
Type: System.Globalization..::..CultureInfo
The CultureInfo info.

Return Value

Remarks

Search order: - searching in the specified resource Assembly; - searching in satellite Assemblies of the specified resource Assembly; - searching in the executing assembly; - repeating the search in above assemblies for the parent culture; - if result is not found, returning the specified default value.

See Also