# C1.Report.Section.Fields

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Section_Fields_" data-uid="C1.Report.Section.Fields*">Fields Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Section_Fields_" data-uid="C1.Report.Section.Fields*"></a>
<h4 id="C1_Report_Section_Fields" data-uid="C1.Report.Section.Fields">Fields</h4>
<div class="markdown level1 summary"><p>Gets a collection of all fields in this <a class="xref" href="C1.Report.Section.html">Section</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Browsable(false)]
public FieldCollection Fields { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Browsable(False)&gt;
Public ReadOnly Property Fields As FieldCollection</code></pre>
</div>
<h5 id="C1_Report_Section_Fields_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <b>Fields</b> collection contains all <a class="xref" href="C1.Report.Field.html">Field</a> objects defined in the current section.</p>
<p>When you add a field to a section's <b>Fields</b> collection, the field is automatically assigned to the 
section that owns the collection. For example, the code below adds a field to the <b>Detail</b> section:</p>
<pre><code class="lang-csharp">_c1r.Sections.Detail.Fields.Add("new field", "CompanyLogo", rc);</code></pre>
</div>
</div>
