SetPage 方法

注意:此 API 已經過時。

Sets the current page number and total page count. This method must be called before GetPageSections. The totalPages argument must be accurate if NeedsHeaderFooterEvaluation is true. Otherwise, this argument is unused.

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

語法

[ObsoleteAttribute("Use ReportSection.SetPage(Int32, Int32) instead.")]
public void SetPage(
    int pageNumber,
    int totalPages
)

參數