次の方法で共有


LocalReport.ReportEmbeddedResource プロパティ

 

発行: 2016年4月

レポートに埋め込まれたリソースの名前を取得または設定します。

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

構文

[TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
public string ReportEmbeddedResource { get; set; }
public:
[TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
property String^ ReportEmbeddedResource {
    String^ get();
    void set(String^ value);
}
[<TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>]
member ReportEmbeddedResource : string with get, set
<TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")>
Public Property ReportEmbeddedResource As String

プロパティ値

Type: System.String

埋め込まれたリソースの名前を示す string

解説

Setting the ReportEmbeddedResource property will cause the ReportViewer control to automatically load any required subreports from an embedded resource.

An embedded report resource is a report definition that has been stored as a resource in the calling assembly.

If the ReportPath property has been set, the ReportEmbeddedResource property is ignored. It also causes the report loaded with LoadReportDefinition to be ignored.

参照

LocalReport クラス
Microsoft.Reporting.WinForms 名前空間

トップに戻る