ReportStorageExtension.SetData(XtraReport, Stream) Method

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

Namespace: DevExpress.XtraReports.Extensions

Assembly: DevExpress.XtraReports.v18.1.Extensions.dll

Syntax

public virtual void SetData(
    XtraReport report,
    Stream stream
)

Parameters

Type Name Description
XtraReport report

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.

See Also