# C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder" data-uid="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder" class="text-break">PivotFieldCollectionBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.Olap.PivotFieldCollection.html">PivotFieldCollection</a>.</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">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="../C1.AspNetCore.Mvc/C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.Olap.PivotFieldCollection.html">PivotFieldCollection</a>, <a class="xref" href="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.html">PivotFieldCollectionBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">PivotFieldCollectionBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Olap.Fluent.html">C1.Web.Mvc.Olap.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.Olap.dll</h6>
  <h5 id="C1_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PivotFieldCollectionBuilder : BaseBuilder&lt;PivotFieldCollection, PivotFieldCollectionBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PivotFieldCollectionBuilder
    Inherits BaseBuilder(Of PivotFieldCollection, PivotFieldCollectionBuilder)</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="C1_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder__ctor_C1_Web_Mvc_Olap_PivotFieldCollection_" data-uid="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.#ctor(C1.Web.Mvc.Olap.PivotFieldCollection)">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.-ctor.html#C1_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder__ctor_C1_Web_Mvc_Olap_PivotFieldCollection_">PivotFieldCollectionBuilder(PivotFieldCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.html">PivotFieldCollectionBuilder</a> instance to configurate <code class="paramref">obj</code>.</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_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder_Items_System_Action_C1_Web_Mvc_Olap_Fluent_FieldItemFactory__" data-uid="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.Items(System.Action{C1.Web.Mvc.Olap.Fluent.FieldItemFactory})">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.Items.html#C1_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder_Items_System_Action_C1_Web_Mvc_Olap_Fluent_FieldItemFactory__">Items(Action&lt;FieldItemFactory&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Configure the field collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder_MaxItems_System_Nullable_System_Int32__" data-uid="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.MaxItems(System.Nullable{System.Int32})">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.PivotFieldCollectionBuilder.MaxItems.html#C1_Web_Mvc_Olap_Fluent_PivotFieldCollectionBuilder_MaxItems_System_Nullable_System_Int32__">MaxItems(int?)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.Olap.PivotFieldCollection.MaxItems.html#C1_Web_Mvc_Olap_PivotFieldCollection_MaxItems">MaxItems</a>.
Sets the maximum number of fields allowed in this collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
