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 PageCountMode that was used to determine it.

Namespace:  Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (em Microsoft.ReportViewer.WinForms.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 total 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.

Comentários

When the total number of pages is an estimated total, the returned string replaces both the page count and the default ? symbol in the toolbar.

Consulte também

Referência

IReportViewerMessages3 Interface

Namespace Microsoft.Reporting.WinForms