# GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetOrCreateRecursiveHierarchyMap

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_Components_InteractiveToggleState_GetOrCreateRecursiveHierarchyMap_" data-uid="GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetOrCreateRecursiveHierarchyMap*">GetOrCreateRecursiveHierarchyMap Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Components_InteractiveToggleState_GetOrCreateRecursiveHierarchyMap_" data-uid="GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetOrCreateRecursiveHierarchyMap*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Components_InteractiveToggleState_GetOrCreateRecursiveHierarchyMap_GrapeCity_ActiveReports_Rendering_Components_ReportItemKey_System_Func_System_Collections_Generic_IDictionary_System_Int32_System_Int32___" data-uid="GrapeCity.ActiveReports.Rendering.Components.InteractiveToggleState.GetOrCreateRecursiveHierarchyMap(GrapeCity.ActiveReports.Rendering.Components.ReportItemKey,System.Func{System.Collections.Generic.IDictionary{System.Int32,System.Int32}})">GetOrCreateRecursiveHierarchyMap(ReportItemKey, Func&lt;IDictionary&lt;int, int&gt;&gt;)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IDictionary&lt;int, int&gt; GetOrCreateRecursiveHierarchyMap(ReportItemKey key, Func&lt;IDictionary&lt;int, int&gt;&gt; createMap)</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="GrapeCity.ActiveReports.Rendering.Components.ReportItemKey.html">ReportItemKey</a></td>
      <td><span class="parametername">key</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;&gt;</td>
      <td><span class="parametername">createMap</span></td>
      <td></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.idictionary-2">IDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
