# GrapeCity.Documents.Excel.IPivotFields

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_IPivotFields" data-uid="GrapeCity.Documents.Excel.IPivotFields" class="text-break">IPivotFields Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of all the <a class="xref" href="GrapeCity.Documents.Excel.IPivotField.html">IPivotField</a> objects in a PivotTable report.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_IPivotFields_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IPivotFields : IEnumerable&lt;IPivotField&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IPivotFields
    Inherits IEnumerable(Of IPivotField), 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="GrapeCity_Documents_Excel_IPivotFields_Count" data-uid="GrapeCity.Documents.Excel.IPivotFields.Count">
          <a class="xref" href="GrapeCity.Documents.Excel.IPivotFields.Count.html#GrapeCity_Documents_Excel_IPivotFields_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of objects in the collection (read-only).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IPivotFields_Item_System_Int32_" data-uid="GrapeCity.Documents.Excel.IPivotFields.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Excel.IPivotFields.Item.html#GrapeCity_Documents_Excel_IPivotFields_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a single object from a collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IPivotFields_Item_System_String_" data-uid="GrapeCity.Documents.Excel.IPivotFields.Item(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IPivotFields.Item.html#GrapeCity_Documents_Excel_IPivotFields_Item_System_String_">this[string]</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a single object from a collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
