Partager via


Propriété NeedsTotalPages

Gets a value that indicates whether to the Globals!TotalPages or Globals!OverallTotalPages value is used in the page header or footer, and that this value needs to be calculated when generating the rendered output.

Espace de noms :  Microsoft.ReportingServices.OnDemandReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

'Déclaration
Public ReadOnly Property NeedsTotalPages As Boolean
    Get
'Utilisation
Dim instance As ReportSection
Dim value As Boolean

value = instance.NeedsTotalPages
public bool NeedsTotalPages { get; }
public:
property bool NeedsTotalPages {
    bool get ();
}
member NeedsTotalPages : bool
function get NeedsTotalPages () : boolean

Valeur de propriété

Type : System. . :: . .Boolean
A Boolean value.

Notes

The Globals!OverallTotalPages value is the total page count of the entire report.

The Globals!TotalPages value is the total page count of a section in the report where PageBreak is used.