.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

PivotTableCollection.RemoveAt(Int32) Method

Removes the pivot table at the specified index from the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

void RemoveAt(
    int index
)

Parameters

Name Type Description
index Int32

A zero-based integer specifying the index of the pivot table to be removed. It should be non-negative and less than the number of elements in the collection.

Remarks

Note that calling the RemoveAt method also disposes an element removed from the collection.

To remove the specified PivotTable object from the collection, use the PivotTableCollection.Remove method. To remove all pivot table from the collection at once, use the PivotTableCollection.Clear method.

To add a new pivot table to the collection, use the PivotTableCollection.Add method.

See Also