# GrapeCity.ActiveReports.PageReportModel.ItemCollection-1

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1" class="text-break">ItemCollection&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents a base class for strongly typed collection of <code class="typeparamref">T</code> objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ItemCollection&lt;T&gt;</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ColumnGroupingCollection.html">ColumnGroupingCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.DataGroupingCollection.html">DataGroupingCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MatrixCellCollection.html">MatrixCellCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.MatrixRowCollection.html">MatrixRowCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RowGroupingCollection.html">RowGroupingCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.StaticRowColumnCollection.html">StaticRowColumnCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TableCellCollection.html">TableCellCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TableGroupCollection.html">TableGroupCollection</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.TableRowCollection.html">TableRowCollection</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ItemCollection&lt;T&gt; : IList&lt;T&gt;, ICollection&lt;T&gt;, IEnumerable&lt;T&gt;, IEnumerable</code></pre>
  </div>
  <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">T</span></td>
        <td><p>A type of collection items.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.-ctor.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1__ctor">ItemCollection()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Count" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.Count">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.Count.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of <code class="typeparamref">T</code> objects in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_IsReadOnly" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.IsReadOnly">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.IsReadOnly.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a> is read-only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.Item.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a specific <code class="typeparamref">T</code> object in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a> by position.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Add__0_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.Add(`0)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.Add.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Add__0_">Add(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <code class="typeparamref">T</code> object to the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_AddRange_System_Collections_Generic_IEnumerable__0__" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.AddRange(System.Collections.Generic.IEnumerable{`0})">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.AddRange.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_AddRange_System_Collections_Generic_IEnumerable__0__">AddRange(IEnumerable&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a collection of <code class="typeparamref">T</code> objects to the existing <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Clear" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.Clear">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.Clear.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Contains__0_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.Contains(`0)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.Contains.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Contains__0_">Contains(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a> contains the specified <code class="typeparamref">T</code>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_CopyTo__0___System_Int32_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.CopyTo(`0[],System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.CopyTo.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_CopyTo__0___System_Int32_">CopyTo(T[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the objects in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a> to a <code class="typeparamref">T</code> array, starting at the specified array index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_GetEnumerator" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.GetEnumerator">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.GetEnumerator.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an enumerator that iterates through the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_IndexOf__0_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.IndexOf(`0)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.IndexOf.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_IndexOf__0_">IndexOf(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specific <code class="typeparamref">T</code> object in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Insert_System_Int32__0_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.Insert(System.Int32,`0)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.Insert.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Insert_System_Int32__0_">Insert(int, T)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a new <code class="typeparamref">T</code> into the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a> at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Remove__0_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.Remove(`0)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.Remove.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_Remove__0_">Remove(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified <code class="typeparamref">T</code> object from the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_RemoveAt_System_Int32_" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.RemoveAt.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a <code class="typeparamref">T</code> object from the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_ToArray" data-uid="GrapeCity.ActiveReports.PageReportModel.ItemCollection`1.ToArray">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.ToArray.html#GrapeCity_ActiveReports_PageReportModel_ItemCollection_1_ToArray">ToArray()</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ItemCollection-1.html">ItemCollection&lt;T&gt;</a> to a new array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
