ローカル レポートのファイル システムのパスを取得または設定します。
名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll)
構文
'宣言
Public Property ReportPath As String
Get
Set
'使用
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)
プロパティ値
型: System.String
文字列 値。
説明
ReportPath プロパティを設定すると、ReportViewer コントロールは必要なサブレポートをファイル システムから自動的に読み込みます。
このプロパティを設定すると、ReportEmbeddedResource プロパティの値は無視されます。また、LoadReportDefinition を使用して読み込まれたレポートも無視されます。