# GrapeCity.ActiveReports.PageReportModel.PageCollection

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_PageCollection" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection" class="text-break">PageCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a strongly typed collection of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> 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">PageCollection</span></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;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a>&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_PageCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class PageCollection : IList&lt;Page&gt;, ICollection&lt;Page&gt;, IEnumerable&lt;Page&gt;, IEnumerable</code></pre>
  </div>
  <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_PageCollection__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.-ctor.html#GrapeCity_ActiveReports_PageReportModel_PageCollection__ctor">PageCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a> class.</p>
</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_PageCollection_Count" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.Count">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.Count.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> objects in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_IsReadOnly" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.IsReadOnly">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.IsReadOnly.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a> is read-only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_Item_System_Int32_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.Item(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.Item.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a specific <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> object in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</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_PageCollection_Add_GrapeCity_ActiveReports_PageReportModel_Page_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.Add(GrapeCity.ActiveReports.PageReportModel.Page)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.Add.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_Add_GrapeCity_ActiveReports_PageReportModel_Page_">Add(Page)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> object to the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_Clear" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.Clear">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.Clear.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all items from the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_Contains_GrapeCity_ActiveReports_PageReportModel_Page_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.Contains(GrapeCity.ActiveReports.PageReportModel.Page)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.Contains.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_Contains_GrapeCity_ActiveReports_PageReportModel_Page_">Contains(Page)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a> contains the specified <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_CopyTo_GrapeCity_ActiveReports_PageReportModel_Page___System_Int32_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.CopyTo(GrapeCity.ActiveReports.PageReportModel.Page[],System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.CopyTo.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_CopyTo_GrapeCity_ActiveReports_PageReportModel_Page___System_Int32_">CopyTo(Page[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the objects in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a> to a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> array, starting at the specified array index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_GetEnumerator" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.GetEnumerator">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.GetEnumerator.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns an enumerator that iterates through the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_IndexOf_GrapeCity_ActiveReports_PageReportModel_Page_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.IndexOf(GrapeCity.ActiveReports.PageReportModel.Page)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.IndexOf.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_IndexOf_GrapeCity_ActiveReports_PageReportModel_Page_">IndexOf(Page)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines the index of a specific <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> object in the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_Insert_System_Int32_GrapeCity_ActiveReports_PageReportModel_Page_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.Insert(System.Int32,GrapeCity.ActiveReports.PageReportModel.Page)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.Insert.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_Insert_System_Int32_GrapeCity_ActiveReports_PageReportModel_Page_">Insert(int, Page)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a new <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> into the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a> at the specified location.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_Remove_GrapeCity_ActiveReports_PageReportModel_Page_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.Remove(GrapeCity.ActiveReports.PageReportModel.Page)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.Remove.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_Remove_GrapeCity_ActiveReports_PageReportModel_Page_">Remove(Page)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> object from the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_RemoveAt_System_Int32_" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.RemoveAt(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.RemoveAt.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Page.html">Page</a> object from the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a> at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_PageCollection_ToArray" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.ToArray">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.ToArray.html#GrapeCity_ActiveReports_PageReportModel_PageCollection_ToArray">ToArray()</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the elements of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.html">PageCollection</a> to a new array.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_PageCollection_ItemAdded" data-uid="GrapeCity.ActiveReports.PageReportModel.PageCollection.ItemAdded">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.PageCollection.ItemAdded.html">ItemAdded</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs immediately after adding an item to the collection.</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>
