Proprietà LocalReport.ReportPath

Recupera o imposta il percorso del report locale nel file system locale.

Spazio dei nomi: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Sintassi

'Dichiarazione
<DefaultValueAttribute(Nothing)> _
<CategoryAttribute("Misc")> _
<SRDescriptionAttribute("LocalReportPathDesc")> _
Public Property ReportPath As String
'Utilizzo
Dim instance As LocalReport
Dim value As String

value = instance.ReportPath

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

Valore proprietà

Valore string.

Note

Se si imposta la proprietà ReportPath, il controllo ReportViewer caricherà automaticamente tutti i sottoreport necessari dal file system.

Se si imposta questa proprietà, il valore della proprietà ReportEmbeddedResource verrà ignorato.

Vedere anche

Riferimento

Classe LocalReport
Membri LocalReport
Spazio dei nomi Microsoft.Reporting.WinForms