Udostępnij za pośrednictwem


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)> _
<CategoryAttribute("Misc")> _
<NotifyParentPropertyAttribute(True)> _
Public Property ReportPath As String
'Usage
Dim instance As LocalReport
Dim value As String

value = instance.ReportPath

instance.ReportPath = value
[DefaultValueAttribute(null)] 
[CategoryAttribute("Misc")] 
[NotifyParentPropertyAttribute(true)] 
public string ReportPath { get; set; }
[DefaultValueAttribute(nullptr)] 
[CategoryAttribute(L"Misc")] 
[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.

See Also

Reference

LocalReport Class
LocalReport Members
Microsoft.Reporting.WinForms Namespace