Aspose::Cells::Pivot::IPivotFieldCollection Class Referenceabstract

Represents a collection of all the PivotField objects in the PivotTable's specific PivotFields type. More...

Inherits IEnumerable, and Object.

Public Member Functions

virtual Aspose::Cells::Pivot::PivotFieldType GetType ()=0
 Gets the PivotFields type. More...
 
virtual Aspose::Cells::Systems::Int32 GetCount ()=0
 Gets the count of the pivotFields. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Collections::IEnumerator > GetEnumerator ()=0
 Gets an enumerator over the elements in this collection in proper sequence. More...
 
virtual intrusive_ptr< Aspose::Cells::Pivot::IPivotFieldGetObjectByIndex (Aspose::Cells::Systems::Int32 index)=0
 Gets the PivotField Object at the specific index. More...
 
virtual intrusive_ptr< Aspose::Cells::Pivot::IPivotFieldGetObjectByIndex (intrusive_ptr< Aspose::Cells::Systems::String > name)=0
 Gets the PivotField Object of the specific name. More...
 
virtual Aspose::Cells::Systems::Int32 AddByBaseIndex (Aspose::Cells::Systems::Int32 baseFieldIndex)=0
 Adds a PivotField Object to the specific type PivotFields. More...
 
virtual Aspose::Cells::Systems::Int32 Add (intrusive_ptr< Aspose::Cells::Pivot::IPivotField > pivotField)=0
 Adds a PivotField Object to the specific type PivotFields. More...
 
virtual void Clear ()=0
 clear all fields of PivotFieldCollection More...
 
virtual void add_ref ()
 
virtual int release_ref ()
 

Detailed Description

Represents a collection of all the PivotField objects in the PivotTable's specific PivotFields type.

Member Function Documentation

◆ Add()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Pivot::IPivotFieldCollection::Add ( intrusive_ptr< Aspose::Cells::Pivot::IPivotField pivotField)
pure virtual

Adds a PivotField Object to the specific type PivotFields.

Parameters
pivotFielda PivotField Object.
Returns
the index of the PivotField Object in this PivotFields.

◆ add_ref()

virtual void Aspose::Cells::Pivot::IPivotFieldCollection::add_ref ( )
inlinevirtual

◆ AddByBaseIndex()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Pivot::IPivotFieldCollection::AddByBaseIndex ( Aspose::Cells::Systems::Int32  baseFieldIndex)
pure virtual

Adds a PivotField Object to the specific type PivotFields.

Parameters
baseFieldIndexfield index in the base PivotFields.
Returns
the index of the PivotField Object in this PivotFields.

◆ Clear()

virtual void Aspose::Cells::Pivot::IPivotFieldCollection::Clear ( )
pure virtual

clear all fields of PivotFieldCollection

◆ GetCount()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Pivot::IPivotFieldCollection::GetCount ( )
pure virtual

Gets the count of the pivotFields.

◆ GetEnumerator()

virtual intrusive_ptr<Aspose::Cells::Systems::Collections::IEnumerator> Aspose::Cells::Pivot::IPivotFieldCollection::GetEnumerator ( )
pure virtual

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

Returns
enumerator

◆ GetObjectByIndex() [1/2]

virtual intrusive_ptr<Aspose::Cells::Pivot::IPivotField> Aspose::Cells::Pivot::IPivotFieldCollection::GetObjectByIndex ( Aspose::Cells::Systems::Int32  index)
pure virtual

Gets the PivotField Object at the specific index.

◆ GetObjectByIndex() [2/2]

virtual intrusive_ptr<Aspose::Cells::Pivot::IPivotField> Aspose::Cells::Pivot::IPivotFieldCollection::GetObjectByIndex ( intrusive_ptr< Aspose::Cells::Systems::String >  name)
pure virtual

Gets the PivotField Object of the specific name.

◆ GetType()

virtual Aspose::Cells::Pivot::PivotFieldType Aspose::Cells::Pivot::IPivotFieldCollection::GetType ( )
pure virtual

Gets the PivotFields type.

◆ release_ref()

virtual int Aspose::Cells::Pivot::IPivotFieldCollection::release_ref ( )
inlinevirtual