PivotItemCollection

PivotItemCollection class

Represents a collection of all the PivotItem objects in the PivotField’s

Methods

NameDescription
changeitemsOrder(sourceIndex, destIndex)Directly changes the orders of the two items.
get()Gets the PivotItem Object at the specific index.
get()Gets the PivotItem Object of the specific name.
getCount()Gets the count of the pivot items.
iterator()Gets an enumerator over the elements in this collection in proper sequence.
swapItem()

changeitemsOrder(sourceIndex, destIndex)

Directly changes the orders of the two items.

ParameterTypeDescription
sourceIndexNumberThe current index
destIndexNumberThe dest index

get()

Gets the PivotItem Object at the specific index.

get()

Gets the PivotItem Object of the specific name.

getCount()

Gets the count of the pivot items.

iterator()

Gets an enumerator over the elements in this collection in proper sequence.

Returns: Iterator — Iterator enumerator

swapItem()