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 命名空間
回到頁首