PivotSummaryDataSource.ExportToXml(Stream, Boolean) Method

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

Namespace: DevExpress.XtraPivotGrid

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

Declaration

public void ExportToXml(
    Stream stream,
    bool writeSchema
)
Public Sub ExportToXml(
    stream As Stream,
    writeSchema As Boolean
)

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