Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Localization Namespace / Localizer Class / GetLocalizedText Method / GetLocalizedText(String,String) Method
A string value indicates the specified key.
A string value indicates the default localized text.


In This Topic
    GetLocalizedText(String,String) Method
    In This Topic
    Gets the localized text from the specified key.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetLocalizedText( _
       ByVal key As String, _
       Optional ByVal defaultText As String _
    ) As String
    'Usage
     
    
    Dim instance As Localizer
    Dim key As String
    Dim defaultText As String
    Dim value As String
     
    value = instance.GetLocalizedText(key, defaultText)
    public string GetLocalizedText( 
       string key,
       string defaultText
    )

    Parameters

    key
    A string value indicates the specified key.
    defaultText
    A string value indicates the default localized text.

    Return Value

    A System.String value represents the localized text.
    See Also