Udostępnij za pośrednictwem


Metoda IReportViewerMessages3.TotalPages —

Returns the string in the default toolbar that represents the total number of pages in the current report and the page count mode that is used.

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
Function TotalPages ( _
    pageCount As Integer, _
    pageCountMode As PageCountMode _
) As String
string TotalPages(
    int pageCount,
    PageCountMode pageCountMode
)
String^ TotalPages(
    int pageCount, 
    PageCountMode pageCountMode
)
abstract TotalPages : 
        pageCount:int * 
        pageCountMode:PageCountMode -> string 
function TotalPages(
    pageCount : int, 
    pageCountMode : PageCountMode
) : String

Parametry

  • pageCount
    Typ: Int32
    The number of pages in the current report.

Wartość zwracana

Typ: String
A localized string that represents the total number of pages and the page count mode.

Zobacz też

Informacje

IReportViewerMessages3 Interfejs

Przestrzeń nazw Microsoft.Reporting.WebForms