# GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Downcast

## Content

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



<h1 id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_Downcast_" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Downcast*">Downcast Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_Downcast_" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Downcast*"></a>
<h4 id="GrapeCity_ActiveReports_Extensibility_Rendering_Components_ItemCollectionExtensions_Downcast__2_GrapeCity_ActiveReports_Extensibility_Rendering_Components_IItemCollection___0__" data-uid="GrapeCity.ActiveReports.Extensibility.Rendering.Components.ItemCollectionExtensions.Downcast``2(GrapeCity.ActiveReports.Extensibility.Rendering.Components.IItemCollection{``0})">Downcast&lt;TI, TO&gt;(IItemCollection&lt;TI&gt;)</h4>
<div class="markdown level1 summary"><p>Downcasts the items type within collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IItemCollection&lt;TO&gt; Downcast&lt;TI, TO&gt;(this IItemCollection&lt;TI&gt; input) where TI : TO</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.Extensibility.Rendering.Components.IItemCollection-1.html">IItemCollection</a>&lt;TI&gt;</td>
      <td><span class="parametername">input</span></td>
      <td><p>The input.</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="GrapeCity.ActiveReports.Extensibility.Rendering.Components.IItemCollection-1.html">IItemCollection</a>&lt;TO&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">TI</span></td>
      <td><p>The type of the I.</p>
</td>
    </tr>
    <tr>
      <td><span class="parametername">TO</span></td>
      <td><p>The type of the O.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
