IReportManagerServiceExtensions.UpdateReport(IReportManagerService, XtraReport) Method

Static extension method that saves changes for the specified report.

Namespace: DevExpress.Xpf.Reports.UserDesigner.Extensions

Assembly: DevExpress.Xpf.ReportDesigner.v21.2.dll

Declaration

public static void UpdateReport(
    this IReportManagerService self,
    XtraReport report
)

Parameters

Name Type Description
self IReportManagerService

The type utilized by the static extension method.

report XtraReport

An object specifying the report.

Remarks

To modify an existing report and save your changes, call the UpdateReport method.

public void CreateNewReport() {
    XtraReport report = ...;
    ReportInfo info = ReportManagerService.SaveReport(report);
    info.Name = "Newly Added Report";
    ReportManagerService.UpdateReport(info);
}
See Also