Back to Devexpress

PivotTableCollection.Clear() Method

officefileapi-devexpress-dot-spreadsheet-dot-pivottablecollection-17f38f9a.md

latest1.7 KB
Original Source

PivotTableCollection.Clear() Method

Removes all pivot tables from the collection.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void Clear()
vb
Sub 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

Remove(PivotTable)

RemoveAt(Int32)

PivotTableCollection Interface

PivotTableCollection Members

DevExpress.Spreadsheet Namespace