PivotTableCollection.RemoveAt(Int32) Method
Removes the pivot table at the specified index from the collection.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
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.