Class ExcelPivotAreaDataFieldReference
- Namespace
- OfficeOpenXml.Table.PivotTable
- Assembly
- EPPlus.dll
A collection of data fields used in a pivot area selection
public class ExcelPivotAreaDataFieldReference : ExcelPivotAreaReferenceBase, IEnumerable<ExcelPivotTableDataField>, IEnumerable
- Inheritance
-
ExcelPivotAreaDataFieldReference
- Implements
- Inherited Members
Properties
Count
Number of items in the collection
public int Count { get; }
Property Value
this[int]
The indexer
public ExcelPivotTableDataField this[int index] { get; }
Parameters
indexintThe zero-based index of the collection
Property Value
Methods
Add(ExcelPivotTableDataField)
Adds a data field from the pivot table to the pivot area
public void Add(ExcelPivotTableDataField field)
Parameters
fieldExcelPivotTableDataField
Add(int)
Adds the data field at the specific index
public void Add(int index)
Parameters
indexint
GetEnumerator()
Gets the enumerator
public IEnumerator<ExcelPivotTableDataField> GetEnumerator()