Report.SuspendReportRefresh
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
Report.SuspendReportRefresh
Syntax
Report.SuspendReportRefresh
Data Type
Purpose
Set this property to True to suspend report refreshes when modifying the ReportSection associated with the report. You typically use this property with on-the-fly report generation to avoid generating a partial report, when you are more likely to modify the ReportSection object associated with the report while TestStand processes the report for display purposes.
Remarks
Call this property only from a code module or a statement step used for report generation, not from an executing sequence or the user interface code.
After you set this property to True , you must reset this property to False in the same code module or statement step for the user interfaces and report generation to function correctly.
When this property is True , the Report.IsEmpty property always returns True and the Report.All property returns an empty string.