Поделиться через


ReportViewer.LocalReport Property

Returns the local report in the ReportViewer control.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)> _
Public ReadOnly Property LocalReport As LocalReport
'Usage
Dim instance As ReportViewer
Dim value As LocalReport

value = instance.LocalReport
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)] 
public LocalReport LocalReport { get; }
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Content)] 
public:
property LocalReport^ LocalReport {
    LocalReport^ get ();
}
/** @property */
public LocalReport get_LocalReport ()
public function get LocalReport () : LocalReport

Property Value

A LocalReport object containing the local report in the ReportViewer control.

Example

See LocalReport for a code example.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace