共用方式為


ReportSection.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.

命名空間:  Microsoft.ReportingServices.OnDemandReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public ReadOnly Property NeedsTotalPages As Boolean 
    Get
'用途
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

屬性值

型別:System.Boolean
A Boolean value.

備註

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.

請參閱

參考

ReportSection 類別

Microsoft.ReportingServices.OnDemandReportRendering 命名空間