# C1.Report.SectionCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_SectionCollection" data-uid="C1.Report.SectionCollection" class="text-break">SectionCollection Class
</h1>
  <div class="markdown level0 summary"><p>Collection of the <a class="xref" href="C1.Report.Section.html">Section</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"><a class="xref" href="C1.Report.ReportObjectCollection-1.html">ReportObjectCollection</a>&lt;<a class="xref" href="C1.Report.Section.html">Section</a>&gt;</div>
    <div class="level2"><a class="xref" href="C1.Report.ReportObjectList-1.html">ReportObjectList</a>&lt;<a class="xref" href="C1.Report.Section.html">Section</a>&gt;</div>
    <div class="level3"><span class="xref">SectionCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.Report.Section.html">Section</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="C1.Report.Section.html">Section</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></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="C1.Report.html">C1.Report</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_SectionCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SectionCollection : ReportObjectList&lt;Section&gt;, ICollection&lt;Section&gt;, IEnumerable&lt;Section&gt;, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SectionCollection
    Inherits ReportObjectList(Of Section)
    Implements ICollection(Of Section), IEnumerable(Of Section), IList, ICollection, IEnumerable</code></pre>
  </div>
  <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="C1_Report_SectionCollection_Detail" data-uid="C1.Report.SectionCollection.Detail">
          <a class="xref" href="C1.Report.SectionCollection.Detail.html#C1_Report_SectionCollection_Detail">Detail</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a reference to the detail section of the report.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_SectionCollection_Footer" data-uid="C1.Report.SectionCollection.Footer">
          <a class="xref" href="C1.Report.SectionCollection.Footer.html#C1_Report_SectionCollection_Footer">Footer</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a reference to the report footer section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_SectionCollection_Header" data-uid="C1.Report.SectionCollection.Header">
          <a class="xref" href="C1.Report.SectionCollection.Header.html#C1_Report_SectionCollection_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a reference to the report header section.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_SectionCollection_Item_C1_Report_SectionTypeEnum_" data-uid="C1.Report.SectionCollection.Item(C1.Report.SectionTypeEnum)">
          <a class="xref" href="C1.Report.SectionCollection.Item.html#C1_Report_SectionCollection_Item_C1_Report_SectionTypeEnum_">this[SectionTypeEnum]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a section from a <a class="xref" href="C1.Report.FlexReport.Sections.html#C1_Report_FlexReport_Sections">Sections</a> collection by its <a class="xref" href="C1.Report.Section.Type.html#C1_Report_Section_Type">Type</a>.
Throws an exception if section with specified <a class="xref" href="C1.Report.Section.Type.html#C1_Report_Section_Type">Type</a> not found.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_SectionCollection_PageFooter" data-uid="C1.Report.SectionCollection.PageFooter">
          <a class="xref" href="C1.Report.SectionCollection.PageFooter.html#C1_Report_SectionCollection_PageFooter">PageFooter</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a reference to the page footer section of the report.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_SectionCollection_PageHeader" data-uid="C1.Report.SectionCollection.PageHeader">
          <a class="xref" href="C1.Report.SectionCollection.PageHeader.html#C1_Report_SectionCollection_PageHeader">PageHeader</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a reference to the page header section of the report.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_SectionCollection_Report" data-uid="C1.Report.SectionCollection.Report">
          <a class="xref" href="C1.Report.SectionCollection.Report.html#C1_Report_SectionCollection_Report">Report</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Report.FlexReport.html">FlexReport</a> object owning this collection.</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="C1_Report_SectionCollection_FindSection_C1_Report_SectionTypeEnum_" data-uid="C1.Report.SectionCollection.FindSection(C1.Report.SectionTypeEnum)">
          <a class="xref" href="C1.Report.SectionCollection.FindSection.html#C1_Report_SectionCollection_FindSection_C1_Report_SectionTypeEnum_">FindSection(SectionTypeEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a section from a <a class="xref" href="C1.Report.FlexReport.Sections.html#C1_Report_FlexReport_Sections">Sections</a> collection by its <a class="xref" href="C1.Report.Section.Type.html#C1_Report_Section_Type">Type</a>.
Returns null if section not found.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
