# C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Olap_Fluent_ViewFieldCollectionBuilder" data-uid="C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder" class="text-break">ViewFieldCollectionBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder for RowFields,ColumnFields, ValueFields and FilterFields.</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.ViewFieldCollectionBuilder.html">ViewFieldCollectionBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">ViewFieldCollectionBuilder</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_ViewFieldCollectionBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ViewFieldCollectionBuilder : BaseBuilder&lt;PivotFieldCollection, ViewFieldCollectionBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ViewFieldCollectionBuilder
    Inherits BaseBuilder(Of PivotFieldCollection, ViewFieldCollectionBuilder)</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_ViewFieldCollectionBuilder__ctor_C1_Web_Mvc_Olap_PivotFieldCollection_" data-uid="C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder.#ctor(C1.Web.Mvc.Olap.PivotFieldCollection)">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder.-ctor.html#C1_Web_Mvc_Olap_Fluent_ViewFieldCollectionBuilder__ctor_C1_Web_Mvc_Olap_PivotFieldCollection_">ViewFieldCollectionBuilder(PivotFieldCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Create one ViewFieldCollectionBuilder instance.</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_ViewFieldCollectionBuilder_Items_System_String___" data-uid="C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder.Items(System.String[])">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder.Items.html#C1_Web_Mvc_Olap_Fluent_ViewFieldCollectionBuilder_Items_System_String___">Items(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Configure the field collection according to the specified field key list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Fluent_ViewFieldCollectionBuilder_MaxItems_System_Nullable_System_Int32__" data-uid="C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder.MaxItems(System.Nullable{System.Int32})">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.ViewFieldCollectionBuilder.MaxItems.html#C1_Web_Mvc_Olap_Fluent_ViewFieldCollectionBuilder_MaxItems_System_Nullable_System_Int32__">MaxItems(int?)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the MaxItems property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
