Class ExcelPivotTableSlicerItemCollection¶
Namespace: OfficeOpenXml.Drawing.Slicer
Assembly: EPPlus.dll
A collection of items in a pivot table slicer.
public class ExcelPivotTableSlicerItemCollection : IEnumerable<ExcelPivotTableSlicerItem>, IEnumerable
Inheritance¶
object ← ExcelPivotTableSlicerItemCollection
Implements¶
IEnumerable
IEnumerable<ExcelPivotTableSlicerItem>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
Number of items in the collection.
Property Value¶
this[int]¶
Get the value at the specific position in the collection
Property Value¶
Methods¶
Contains(object)¶
It the object exists in the cache
Parameters¶
value object
The object to check for existance
Returns¶
GetByValue(object)¶
Get the item with supplied value.
Parameters¶
value object
The value
Returns¶
The item matching the supplied value. Returns null if no value matches.
GetEnumerator()¶
Get the enumerator for the collection
Returns¶
IEnumerator<ExcelPivotTableSlicerItem>
GetIndexByValue(object)¶
Get the index of the item with supplied value.
Parameters¶
value object
The value
Returns¶
The item matching the supplied value. Returns -1 if no value matches.
Refresh()¶
Refresh the items from the shared items or the group items.