Scheduler for WPF | ComponentOne
C1.Schedule.Localization Namespace / C1Localizer Class / GetString Method / GetString(String,String,String,String,CultureInfo) Method
The name of resource assembly.
The name of resource dictionary.
The resource key.
The default value.
The System.Globalization.CultureInfo info.

In This Topic
    GetString(String,String,String,String,CultureInfo) Method
    In This Topic
    Returns the localized string for the specified culture.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetString( _
       ByVal resourceAssembly As String, _
       ByVal resourceDictionary As String, _
       ByVal resourceKey As String, _
       ByVal defaultValue As String, _
       ByVal culture As CultureInfo _
    ) As String

    Parameters

    resourceAssembly
    The name of resource assembly.
    resourceDictionary
    The name of resource dictionary.
    resourceKey
    The resource key.
    defaultValue
    The default value.
    culture
    The System.Globalization.CultureInfo info.
    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