Partilhar via


Método 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.

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
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

Parâmetros

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

Valor de retorno

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

Consulte também

Referência

IReportViewerMessages3 Interface

Namespace Microsoft.Reporting.WebForms