PivotItemCollection
Contents
[
Hide
]PivotItemCollection class
Represents a collection of all the PivotItem objects in the PivotField’s
Properties
| Name | Type | Description |
|---|---|---|
| Count | int | Gets the count of the pivot items. |
| Item (int) | PivotItem | Gets the PivotItem Object at the specific index. |
| Item (java.lang.String) | PivotItem | Gets the PivotItem Object of the specific name. |
Methods
| Name | Description |
|---|---|
| iterator | Gets an enumerator over the elements in this collection in proper sequence. |
| changeitemsOrder | Directly 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.
| Parameter | Type | Description |
|---|---|---|
| sourceIndex | int | The current index |
| destIndex | int | The dest index |