次の方法で共有


LocalReport.LoadSubreportDefinition メソッド (String, Stream)

 

公開日: 2016年4月

Stream を使用してサブレポート定義を読み込みます。

名前空間:   Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

public void LoadSubreportDefinition(
    string reportName,
    Stream report
)
public:
void LoadSubreportDefinition(
    String^ reportName,
    Stream^ report
)
member LoadSubreportDefinition : 
        reportName:string *
        report:Stream -> unit
Public Sub LoadSubreportDefinition (
    reportName As String,
    report As Stream
)

パラメーター

  • reportName
    Type: System.String

    サブレポート定義のパスとファイル名。

  • report
    Type: System.IO.Stream

    サブレポートのレポート定義言語 (RDL) を読み込むために使用できる Stream クラス。

備考

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 report definitions for subreports.  

関連項目

LoadSubreportDefinition オーバーロード
LocalReport クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る