Report.NeedsHeaderFooterEvaluation Property
Gets a value that indicates whether this page header or page footer needs to be evaluated during rendering.
命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)
語法
'宣告
Public ReadOnly Property NeedsHeaderFooterEvaluation As Boolean
public bool NeedsHeaderFooterEvaluation { get; }
public:
property bool NeedsHeaderFooterEvaluation {
bool get ();
}
/** @property */
public boolean get_NeedsHeaderFooterEvaluation ()
public function get NeedsHeaderFooterEvaluation () : boolean
屬性值
A Boolean indicating whether this page header or page footer needs to be evaluated during rendering. If true, ReportItemCollection is null and the rendering extension should call the EvaluateHeaderFooterExpressions function after it has built the page.
備註
新增:2005 年 12 月 5 日
The page header and footer of a report may include aggregates or other information that is dependent on the contents of that page of the report. The report server provides a callback delegate function called EvaluateHeaderFooterExpressions. If NeedsHeaderFooterEvaluation is true, the rendering extension creates a PageReportItems object and adds all the report items that are completely contained on the page into that collection. The rendering extension then calls the EvaluateHeaderFooterExpressions function, passing in the collection, and the report server returns the new page header and page footer. In the case that the header needs to be evaluated but the footer does not, or the footer needs evaluation but the header does not, the one needing evaluation is available from the result of EvaluateHeaderFooterExpressions, while the one that does not need evaluation is available directly in the report object model.
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace