# GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.GetExpressionReferences

## Content

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



<h1 id="GrapeCity_ActiveReports_Rdl_Tools_ExpressionInfoExtensions_GetExpressionReferences_" data-uid="GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.GetExpressionReferences*">GetExpressionReferences Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rdl_Tools_ExpressionInfoExtensions_GetExpressionReferences_" data-uid="GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.GetExpressionReferences*"></a>
<h4 id="GrapeCity_ActiveReports_Rdl_Tools_ExpressionInfoExtensions_GetExpressionReferences_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_System_String_" data-uid="GrapeCity.ActiveReports.Rdl.Tools.ExpressionInfoExtensions.GetExpressionReferences(GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,System.String)">GetExpressionReferences(ExpressionInfo, string)</h4>
<div class="markdown level1 summary"><p>Returns the list of the names of any report item referenced in the RDL Global [type] collection (ReportItems, DataSet, or DataSource).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string[] GetExpressionReferences(this ExpressionInfo expression, string type)</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="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">expression</span></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object to search for references.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object reference type.</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.string">string</a>[]</td>
      <td><p>Any referenced [type] items or an empty list.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
