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.v24.2.Core.dll

Declaration

public void ExportToXml(
    Stream stream,
    bool writeSchema
)

Parameters

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.

Remarks

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