Class ExcelPivotTableRowColumnFieldCollection
Collection class for row and column fields in a Pivottable
Inheritance
System.Object
ExcelPivotTableRowColumnFieldCollection
Implements
System.Collections.Generic.IEnumerable<ExcelPivotTableField>
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 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 |
---|---|---|
System.Int32 | Index |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable