Class ExcelPivotTableRowColumnFieldCollection
Collection class for row and column fields in a Pivottable
Inheritance
Object
ExcelPivotTableRowColumnFieldCollection
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 ExcelPivotTableRowColumnFieldCollection : ExcelPivotTableFieldCollectionBase<ExcelPivotTableField>, IEnumerable<ExcelPivotTableField>, IEnumerable
Methods
Add(ExcelPivotTableField)
Add a new row/column field
Declaration
public ExcelPivotTableField Add(ExcelPivotTableField Field)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelPivotTableField | Field | The field |
Returns
| Type | Description |
|---|---|
| ExcelPivotTableField | The new field |
Remove(ExcelPivotTableField)
Remove a field
Declaration
public void Remove(ExcelPivotTableField Field)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelPivotTableField | Field |
RemoveAt(Int32)
Remove a field at a specific position
Declaration
public void RemoveAt(int Index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | Index |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable