Skip to main content
Row

PivotTableCollection.Clear() Method

Removes all pivot tables from the collection.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

void Clear()

Remarks

Note that calling the Clear method also disposes all elements removed from the collection.

To remove an individual pivot table from the collection, use the PivotTableCollection.Remove or PivotTableCollection.RemoveAt methods.

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

See Also