Class ExcelPivotAreaDataFieldReference
A collection of data fields used in a pivot area selection
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.Table.PivotTable
Assembly: EPPlus.dll
Syntax
public class ExcelPivotAreaDataFieldReference : ExcelPivotAreaReferenceBase, IEnumerable<ExcelPivotTableDataField>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Item[Int32]
The indexer
Declaration
public ExcelPivotTableDataField this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The zero-based index of the collection |
Property Value
| Type | Description |
|---|---|
| ExcelPivotTableDataField |
Methods
Add(ExcelPivotTableDataField)
Adds a data field from the pivot table to the pivot area
Declaration
public void Add(ExcelPivotTableDataField field)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelPivotTableDataField | field |
Add(Int32)
Adds the data field at the specific index
Declaration
public void Add(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index |
GetEnumerator()
Gets the enumerator
Declaration
public IEnumerator<ExcelPivotTableDataField> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelPivotTableDataField> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Gets the enumerator
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable