Aspose::Cells::Pivot::PivotItemCollection class

PivotItemCollection class

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

class PivotItemCollection

Methods

MethodDescription
ChangeitemsOrder(int32_t sourceIndex, int32_t destIndex)Directly changes the orders of the two items.
Get(int32_t index)Gets the PivotItem Object at the specific index.
Get(const U16String& itemValue)Gets the PivotItem Object of the specific name.
Get(const char16_t* itemValue)Gets the PivotItem Object of the specific name.
GetCount()Gets the count of the pivot items.
GetEnumerator()Gets an enumerator over the elements in this collection in proper sequence.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const PivotItemCollection& src)operator=
PivotItemCollection(PivotItemCollection_Impl* impl)Constructs from an implementation object.
PivotItemCollection(const PivotItemCollection& src)Copy constructor.
~PivotItemCollection()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also