Report.NeedsHeaderFooterEvaluation Property
Gets a value that indicates whether this page header or page footer needs to be evaluated during rendering.
Spazio dei nomi: Microsoft.ReportingServices.ReportRendering
Assembly : Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)
Sintassi
'Dichiarazione
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
Valore proprietà
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.
Osservazioni
Data creazione:5 dicembre 2005
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.
Thread Safety
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.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
Report Class
Report Members
Microsoft.ReportingServices.ReportRendering Namespace