Skip to main content

PivotSummaryDataSource.ExportToXml(String, Boolean) Method

Exports the summary data source to an XML file.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v22.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public void ExportToXml(
    string fileName,
    bool writeSchema


Name Type Description
fileName String

A String that specifies the name of the XML file to which the summary data source should be written.

writeSchema Boolean

true to write the summary data source with the relational structure as an inline XSD schema; otherwise, false.


You can also export the summary data source to a binary stream. To do this, use another overload of the ExportToXml method, which takes the stream parameter.

See Also