Partager via


Méthode SetPage (Int32, Int32)

Sets the current page number and total page count.

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

Syntaxe

'Déclaration
Public Sub SetPage ( _
    pageNumber As Integer, _
    totalPages As Integer _
)
'Utilisation
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
)

Paramètres

Notes

This method must be called before GetPageSections.