ReportStorageExtension.SetData(XtraReport, Stream) Method

Stores the specified report to a Report Storage using the specified stream.

Namespace: DevExpress.XtraReports.Extensions

Assembly: DevExpress.XtraReports.v20.2.Extensions.dll


public virtual void SetData(
    XtraReport report,
    Stream stream
Public Overridable Sub SetData(
    report As XtraReport,
    stream As Stream


Name Type Description
report XtraReport

An XtraReport class descendant, specifying a report object to be saved.

stream Stream

A Stream object, which should be used to save a report.


Call the ReportStorageExtension.CanSetData method before using SetData, to determine whether or not it is allowed to use the specified URL to store a report.

For a code example, see Custom Report Storage.


DevExpress.XtraReports.Native.IReportStorageTool.SetData(XtraReport, Stream)
See Also