ReportStorageExtension.SetData(XtraReport, Stream) Method

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

Namespace: DevExpress.XtraReports.Extensions

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

Declaration

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

Parameters

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.

Remarks

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.

See Also