LocalReport.ReportPath Property

Gets or sets the file system path of the local report.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
<DefaultValueAttribute(Nothing)> _
<NotifyParentPropertyAttribute(True)> _
Public Property ReportPath As String
'Usage
Dim instance As LocalReport
Dim value As String

value = instance.ReportPath

instance.ReportPath = value
[DefaultValueAttribute(null)] 
[NotifyParentPropertyAttribute(true)] 
public string ReportPath { get; set; }
[DefaultValueAttribute(nullptr)] 
[NotifyParentPropertyAttribute(true)] 
public:
property String^ ReportPath {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ReportPath ()

/** @property */
public void set_ReportPath (String value)
public function get ReportPath () : String

public function set ReportPath (value : String)

Property Value

A string value.

Remarks

Set the ReportPath property to cause the ReportViewer control to automatically load any required subreports from the file system.

If this property is set, the value of 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