LocalReport.ReportPath Propiedad

Obtiene o establece la ruta de acceso del sistema de archivos al informe local.

Espacio de nombres:  Microsoft.Reporting.WinForms
Ensamblado:  Microsoft.ReportViewer.WinForms (en Microsoft.ReportViewer.WinForms.dll)

Sintaxis

'Declaración
Public Property ReportPath As String
    Get
    Set
'Uso
Dim instance As LocalReport
Dim value As String

value = instance.ReportPath

instance.ReportPath = value
public string ReportPath { get; set; }
public:
property String^ ReportPath {
    String^ get ();
    void set (String^ value);
}
member ReportPath : string with get, set
function get ReportPath () : String
function set ReportPath (value : String)

Valor de la propiedad

Tipo: System.String
Un valor string.

Comentarios

Establezca la propiedad ReportPath para que el control ReportViewer cargue de forma automática todos los subinformes necesarios del sistema de archivos.

Si se establece esta propiedad, se ignorará el valor de la propiedad ReportEmbeddedResource. También hace que se ignore el informe cargado con LoadReportDefinition.

Vea también

Referencia

LocalReport Clase

Espacio de nombres Microsoft.Reporting.WinForms