# GrapeCity.ActiveReports.PageReportModel.LocalizationResource.GetResourcesByItemName

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_LocalizationResource_GetResourcesByItemName_" data-uid="GrapeCity.ActiveReports.PageReportModel.LocalizationResource.GetResourcesByItemName*">GetResourcesByItemName Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_LocalizationResource_GetResourcesByItemName_" data-uid="GrapeCity.ActiveReports.PageReportModel.LocalizationResource.GetResourcesByItemName*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_LocalizationResource_GetResourcesByItemName_System_String_" data-uid="GrapeCity.ActiveReports.PageReportModel.LocalizationResource.GetResourcesByItemName(System.String)">GetResourcesByItemName(string)</h4>
<div class="markdown level1 summary"><p>Gets the resources using the specified item name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IEnumerable&lt;KeyValuePair&lt;string, string&gt;&gt; GetResourcesByItemName(string itemName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">itemName</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value indicating the item name.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;&gt;</td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable&lt;T&gt;</a> containing key-value pairs of resource names and their corresponding values.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_LocalizationResource_GetResourcesByItemName_System_String__examples">Examples</h5>
<pre><code class="lang-csharp">textBox1Resources = localizationResource.GetResourcesByItemName("TextBox1");</code></pre>

</div>
