PivotItemCollection

PivotItemCollection class

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

Properties

NameTypeDescription
CountintGets the count of the pivot items.
Item (int)PivotItemGets the PivotItem Object at the specific index.
Item (java.lang.String)PivotItemGets the PivotItem Object of the specific name.

Methods

NameDescription
iteratorGets an enumerator over the elements in this collection in proper sequence.
changeitemsOrderDirectly changes the orders of the two items.
swapItem

PivotItemCollection.Count property

Gets the count of the pivot items.

Type: int

PivotItemCollection.Item (int) property

Gets the PivotItem Object at the specific index.

Type: PivotItem

PivotItemCollection.Item (java.lang.String) property

Gets the PivotItem Object of the specific name.

Type: PivotItem

iterator()

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

Returns: enumerator

changeitemsOrder(sourceIndex, destIndex)

Directly changes the orders of the two items.

ParameterTypeDescription
sourceIndexintThe current index
destIndexintThe dest index

swapItem(index1, index2)