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

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

    Parameters

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