Partilhar via


Classe Report

Contains methods and properties that can apply to both local and server reports.

Hierarquia de herança

Object
  Microsoft.Reporting.WebForms.Report
    Microsoft.Reporting.WebForms.LocalReport
    Microsoft.Reporting.WebForms.ServerReport

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

Sintaxe

'Declaração
Public MustInherit Class Report
public abstract class Report
public ref class Report abstract
[<AbstractClass>]
type Report =  class end
public abstract class Report

O tipo Report expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública DisplayName Gets or sets the display name of the report.
Propriedade pública IsDrillthroughReport Indicates whether the report is a drillthrough report.
Propriedade pública IsReadyForRendering Gets a Boolean value that indicates whether a report definition and all parameters have been specified, and all data sources are ready for use.

Superior

Métodos

  Nome Descrição
Método público Equals Determines whether the specified object is equal to the current object. (Herdado de Object.)
Método protegido Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Herdado de Object.)
Método público GetDefaultPageSettings Gets the default page settings specified in the report.
Método público GetDocumentMap Returns the representation of the document map for the local report.
Método público GetHashCode Serves as the default hash function. (Herdado de Object.)
Método público GetParameters Returns report parameter properties for the report.
Método público GetTotalPages() Returns the total number of soft pages in the report.
Método público GetTotalPages(PageCountMode%) Returns the total number of soft pages in the report and a PageCountMode value that indicates the current page count mode.
Método público GetType Gets the Type of the current instance. (Herdado de Object.)
Método público ListRenderingExtensions Returns all available rendering extensions for the report.
Método público LoadReportDefinition(Stream) Loads a report definition for processing using a Stream.
Método público LoadReportDefinition(TextReader) Loads a report definition for processing using a TextReader.
Método protegido MemberwiseClone Creates a shallow copy of the current Object. (Herdado de Object.)
Método público Refresh Causes the report to be rendered with new data.
Método público Render(String) Processes the report and renders it in the specified format.
Método público Render(String, String) Processes the report and renders it in the specified format.
Método público Render(String, String, String%, String%, String%, array<String[]%, array<Warning[]%) Processes the report and renders it in the specified format.
Método público Render(String, String, PageCountMode, String%, String%, String%, array<String[]%, array<Warning[]%) Processes the report with the specified PageCountMode value and renders it in the specified format.
Método público SetParameters(ReportParameter) Sets report parameter properties for the report.
Método público SetParameters(IEnumerable<ReportParameter>) Sets report parameter properties for the report.
Método público ToString Returns a string that represents the current object. (Herdado de Object.)

Superior

Comentários

This class is used as a base class for the LocalReport and ServerReport objects. For implementation-specific information, see LocalReport and ServerReport.

Acesso thread-safe

Quaisquer membros estático (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Consulte também

Referência

Namespace Microsoft.Reporting.WebForms