Skip to main content

PivotSummaryDataSource.ExportToXml(Stream, Boolean) Method

Exports the summary data source to a binary stream in the XML format.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v23.1.Core.dll

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


public void ExportToXml(
    Stream stream,
    bool writeSchema


Name Type Description
stream Stream

A Stream object that represents the stream 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 an XML file. To do this, use another overload of the ExportToXml method, which takes the fileName parameter.

See Also