ReportViewer.ReportAreaContentType-Eigenschaft
Ruft ein ReportAreaContent-Objekt ab, das den aktuellen Inhaltstyp des Berichtsbereichs angibt.
Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in Microsoft.ReportViewer.WebForms.dll)
Syntax
'Declaration
<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
Eigenschaftswert
Typ: Microsoft.Reporting.WebForms.ReportAreaContent
Ein ReportAreaContent-Objekt.
Hinweise
Sie können mithilfe dieser Eigenschaft überprüfen, ob der Berichtsbereich einen Bericht enthält.
Das ReportViewer-Steuerelement ändert den Wert dieser Eigenschaft während des Lebenszyklus der ASP.NET-Seite.Sie können diese Eigenschaft vor Abschluss des ReportViewer.PreRender-Ereignisses auf Unknown festlegen.Der Wert wird nach dem ReportViewer.PreRender-Ereignis fertig gestellt.