LocalReport.ReportEmbeddedResource Property
Gets or sets the name of the report-embedded resource.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)
Syntax
'Declaration
<DefaultValueAttribute(Nothing)> _
<TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")> _
<NotifyParentPropertyAttribute(True)> _
Public Property ReportEmbeddedResource As String
'Usage
Dim instance As LocalReport
Dim value As String
value = instance.ReportEmbeddedResource
instance.ReportEmbeddedResource = value
[DefaultValueAttribute(null)]
[TypeConverterAttribute("Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
[NotifyParentPropertyAttribute(true)]
public string ReportEmbeddedResource { get; set; }
[DefaultValueAttribute(nullptr)]
[TypeConverterAttribute(L"Microsoft.ReportingServices.ReportSelectionConverter, Microsoft.Reporting.Design, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91")]
[NotifyParentPropertyAttribute(true)]
public:
property String^ ReportEmbeddedResource {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_ReportEmbeddedResource ()
/** @property */
public void set_ReportEmbeddedResource (String value)
public function get ReportEmbeddedResource () : String
public function set ReportEmbeddedResource (value : String)
Property Value
A string containing the name of the embedded resource.
Remarks
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.
See Also
Reference
LocalReport Class
LocalReport Members
Microsoft.Reporting.WinForms Namespace