Class ExcelPivotTableDataFieldCollection
Collection class for data fields in a Pivottable
Inheritance
System.Object
ExcelPivotTableDataFieldCollection
Implements
System.Collections.Generic.IEnumerable<ExcelPivotTableDataField>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Table.PivotTable
Assembly: EPPlus.dll
Syntax
public class ExcelPivotTableDataFieldCollection : ExcelPivotTableFieldCollectionBase<ExcelPivotTableDataField>, IEnumerable<ExcelPivotTableDataField>, IEnumerable
Methods
Add(ExcelPivotTableField)
Add a new datafield
Declaration
public ExcelPivotTableDataField Add(ExcelPivotTableField field)
Parameters
Type | Name | Description |
---|---|---|
ExcelPivotTableField | field | The field |
Returns
Type | Description |
---|---|
ExcelPivotTableDataField | The new datafield |
Remove(ExcelPivotTableDataField)
Remove a datafield
Declaration
public void Remove(ExcelPivotTableDataField dataField)
Parameters
Type | Name | Description |
---|---|---|
ExcelPivotTableDataField | dataField | The data field to remove |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable