Table of Contents

Class ExcelSlicerPivotTableCollection

Namespace
OfficeOpenXml.Drawing.Slicer
Assembly
EPPlus.dll

A collection of pivot tables attached to a slicer

public class ExcelSlicerPivotTableCollection : IEnumerable<ExcelPivotTable>, IEnumerable
Inheritance
ExcelSlicerPivotTableCollection
Implements
Inherited Members

Properties

Count

Number of items in the collection

public int Count { get; }

Property Value

int

this[int]

The indexer for the collection

public ExcelPivotTable this[int index] { get; }

Parameters

index int

The index

Property Value

ExcelPivotTable

The pivot table at the specified index

Methods

Add(ExcelPivotTable)

Adds a new pivot table to the collection. All pivot table in this collection must share the same cache.

public void Add(ExcelPivotTable pivotTable)

Parameters

pivotTable ExcelPivotTable

The pivot table to add

GetEnumerator()

Get an Enumerator for the collection.

public IEnumerator<ExcelPivotTable> GetEnumerator()

Returns

IEnumerator<ExcelPivotTable>

The Enumerator