ReportViewer.LocalReport 屬性

在 ReportViewer 控制項中取得本機報表。

命名空間: Microsoft.Reporting.WebForms
組件: Microsoft.ReportViewer.WebForms (在 microsoft.reportviewer.webforms.dll)

語法

'宣告
<SRDescriptionAttribute("LocalReportDesc")> _
<NotifyParentPropertyAttribute(True)> _
<CategoryAttribute("Misc")> _
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property LocalReport As LocalReport
'用途
Dim instance As ReportViewer
Dim value As LocalReport

value = instance.LocalReport
[SRDescriptionAttribute("LocalReportDesc")] 
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute("Misc")] 
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] 
public LocalReport LocalReport { get; }
[NotifyParentPropertyAttribute(true)] 
[CategoryAttribute(L"Misc")] 
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] 
public:
LocalReport^ LocalReport {
    LocalReport^ get ();
}
/** @property */
public LocalReport get_LocalReport ()
public function get LocalReport () : LocalReport

屬性值

包含 ReportViewer 控制項中本機報表的 LocalReport 物件。

範例

請參閱 LocalReport,以取得程式碼範例。

另請參閱

參考

ReportViewer 類別
ReportViewer 成員
Microsoft.Reporting.WebForms 命名空間