Partilhar via


Método LocalReport.LoadReportDefinition (TextReader)

Loads a report definition from the local file system using a TextReader.

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

Sintaxe

'Declaração
Public Overrides Sub LoadReportDefinition ( _
    report As TextReader _
)
public override void LoadReportDefinition(
    TextReader report
)
public:
virtual void LoadReportDefinition(
    TextReader^ report
) override
abstract LoadReportDefinition : 
        report:TextReader -> unit 
override LoadReportDefinition : 
        report:TextReader -> unit 
public override function LoadReportDefinition(
    report : TextReader
)

Parâmetros

  • report
    Tipo: TextReader
    A TextReader class that contains the report definition for the local report.

Comentários

The LoadReportDefinition method can be used in cases where the report definition is dynamically generated.

If the loaded report definition contains any subreports, you must call LoadSubreportDefinition and provide data for any subreports.

Consulte também

Referência

LocalReport Classe

Sobrecargas LoadReportDefinition

Namespace Microsoft.Reporting.WebForms