Class ExcelSlicerPivotTableCollection
A collection of pivot tables attached to a slicer
Inheritance
Object
ExcelSlicerPivotTableCollection
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: OfficeOpenXml.Drawing.Slicer
Assembly: EPPlus.dll
Syntax
public class ExcelSlicerPivotTableCollection : IEnumerable<ExcelPivotTable>, IEnumerable
Properties
Count
Number of items in the collection
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Item[Int32]
The indexer for the collection
Declaration
public ExcelPivotTable this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | The index |
Property Value
| Type | Description |
|---|---|
| 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.
Declaration
public void Add(ExcelPivotTable pivotTable)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcelPivotTable | pivotTable | The pivot table to add |
GetEnumerator()
Get an Enumerator for the collection.
Declaration
public IEnumerator<ExcelPivotTable> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ExcelPivotTable> | The Enumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Get an Enumerator for the collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator | The Enumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable