Udostępnij za pośrednictwem


Klasa Report

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

Hierarchia dziedziczenia

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

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

Składnia

'Deklaracja
Public MustInherit Class Report
public abstract class Report
public ref class Report abstract
[<AbstractClass>]
type Report =  class end
public abstract class Report

Typ Report uwidacznia następujące elementy członkowskie.

Właściwości

  Nazwa Opis
Właściwość publiczna DisplayName Gets or sets the display name of the report.
Właściwość publiczna IsDrillthroughReport Indicates whether the report is a drillthrough report.
Właściwość publiczna 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.

Początek

Metody

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

Początek

Uwagi

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

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.Reporting.WebForms