ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / LocalizationResource Class / GetResourcesByItemName Method
A System.String value indicating the item name.
Example

In This Topic
    GetResourcesByItemName Method
    In This Topic
    Gets the resources using the specified item name.
    Syntax
    'Declaration
     
    Public Function GetResourcesByItemName( _
       ByVal itemName As String _
    ) As IEnumerable(Of KeyValuePair(Of String,String))
    public IEnumerable<KeyValuePair<string,string>> GetResourcesByItemName( 
       string itemName
    )

    Parameters

    itemName
    A System.String value indicating the item name.

    Return Value

    An IEnumerable containing key-value pairs of resource names and their corresponding values.
    Example
    textBox1Resources = localizationResource.GetResourcesByItemName("TextBox1");
    See Also