Udostępnij za pośrednictwem


Właściwość ReportViewer.ReportAreaContentType —

Gets a ReportAreaContent object that indicates the current content type of the report area.

Przestrzeń nazw:  Microsoft.Reporting.WebForms
Zestaw:  Microsoft.ReportViewer.WebForms (w Microsoft.ReportViewer.WebForms.dll)

Składnia

'Deklaracja
<BrowsableAttribute(False)> _
Public ReadOnly Property ReportAreaContentType As ReportAreaContent
[BrowsableAttribute(false)]
public ReportAreaContent ReportAreaContentType { get; }
[BrowsableAttribute(false)]
public:
property ReportAreaContent ReportAreaContentType {
    ReportAreaContent get ();
}
[<BrowsableAttribute(false)>]
member ReportAreaContentType : ReportAreaContent with get
function get ReportAreaContentType () : ReportAreaContent

Wartość właściwości

Typ: Microsoft.Reporting.WebForms.ReportAreaContent
A ReportAreaContent object.

Uwagi

You can use this property to check whether the report area contains a report.

The ReportViewer control changes the value of this property during the life cycle of the ASP.NET page. Before the ReportViewer.PreRender event has completed, this property may be set to Unknown. Its value is finalized after the ReportViewer.PreRender event.

Zobacz też

Informacje

ReportViewer Klasa

Przestrzeń nazw Microsoft.Reporting.WebForms