Freigeben über


LocalReport.LoadSubreportDefinition-Methode

Geschützte Member einschließen
Geerbte Member einschließen

Lädt eine Unterberichtsdefinition.

Dieser Member ist überladen. Klicken Sie auf einen Namen in der Überladungsliste, um vollständige Informationen zu diesem Member sowie zu Syntax, Nutzung und Beispielen zu erhalten.

Überladungsliste

  Name Beschreibung
Öffentliche Methode LoadSubreportDefinition(String, Stream) Lädt eine Unterberichtsdefinition mithilfe eines Stream.
Öffentliche Methode LoadSubreportDefinition(String, TextReader) Lädt eine Unterberichtsdefinition mithilfe eines TextReader.

Zum Seitenanfang

Hinweise

The ReportViewer control requires the definitions for all subreports before it can process a report. If the local report was loaded from the file system by specifying the ReportPath property or loaded from an embedded resource by specifying the ReportEmbeddedResource property, the ReportViewer control automatically loads the subreports from the file system or embedded resource, respectively. In cases where the local report was loaded from a stream, these methods may be used to load subreport definitions.

Starting with Visual Studio 2012, if you call LoadSubreportDefinition, any parameters or credentials that you have set previously will be cleared.

Beispiele

For a code example, see SubreportProcessing.

Siehe auch

Referenz

LocalReport Klasse

Microsoft.Reporting.WinForms-Namespace