Proprietà NeedsHeaderFooterEvaluation
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
Get
'Utilizzo
Dim instance As Report
Dim value As Boolean
value = instance.NeedsHeaderFooterEvaluation
public bool NeedsHeaderFooterEvaluation { get; }
public:
property bool NeedsHeaderFooterEvaluation {
bool get ();
}
member NeedsHeaderFooterEvaluation : bool
function get NeedsHeaderFooterEvaluation () : boolean
Valore proprietà
Tipo: System. . :: . .Boolean
A Boolean that indicates whether this page header or page footer needs to be evaluated during rendering. If true, ReportItemCollection is nullNothingnullptrunitriferimento Null (Nothing in Visual Basic). and the rendering extension should call the EvaluateHeaderFooterExpressions function after it has built the page.
Osservazioni
The page header and footer of a report might 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.
Vedere anche