Returns the localized string for the specified culture.
Namespace:
C1.WPF.LocalizationAssembly: C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)
Syntax
C# |
---|
public static string GetString( string resourceDictionary, string resourceKey, string defaultValue, CultureInfo culture ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetString ( _ resourceDictionary As String, _ resourceKey As String, _ defaultValue As String, _ culture As CultureInfo _ ) As String |
Parameters
- 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 object.
Return Value
Remarks
Search order:
- searching in the executing Assembly;
- repeating the search for the parent culture;
- if result is not found, returning the specified default value.