ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / LocalizationResource Class / GetResourceValue Method
A System.String value indicating the resource key, based on the template: [control name].[property name].
Example

In This Topic
    GetResourceValue Method
    In This Topic
    Gets the resource value using the specified key.
    Syntax
    'Declaration
     
    Public Function GetResourceValue( _
       ByVal key As String _
    ) As String
    public string GetResourceValue( 
       string key
    )

    Parameters

    key
    A System.String value indicating the resource key, based on the template: [control name].[property name].

    Return Value

    A System.String value indicating the resource value.
    Example
    textBox1.Value = localizationResource.GetResourceValue("TextBox1.Value");
    See Also