ReportSection.SetPage 方法 (Int32, Int32)

Sets the current page number and total page count.

命名空间:  Microsoft.ReportingServices.OnDemandReportRendering
程序集:  Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)

语法

声明
Public Sub SetPage ( _
    pageNumber As Integer, _
    totalPages As Integer _
)
用法
Dim instance As ReportSection
Dim pageNumber As Integer
Dim totalPages As Integer

instance.SetPage(pageNumber, totalPages)
public void SetPage(
    int pageNumber,
    int totalPages
)
public:
void SetPage(
    int pageNumber, 
    int totalPages
)
member SetPage : 
        pageNumber:int * 
        totalPages:int -> unit 
public function SetPage(
    pageNumber : int, 
    totalPages : int
)

参数

  • totalPages
    类型:System.Int32
    The total number of pages.

注释

This method must be called before GetPageSections.