Udostępnij za pośrednictwem


ReportViewer.ExportContentDisposition Property

Gets or sets a value that indicates whether content should be present in-line or as an attachment.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<CategoryAttribute("Misc")> _
<WebBrowsableAttribute(True)> _
<DefaultValueAttribute(ContentDisposition.OnlyHtmlInline)> _
Public Property ExportContentDisposition As ContentDisposition
'Usage
Dim instance As ReportViewer
Dim value As ContentDisposition

value = instance.ExportContentDisposition

instance.ExportContentDisposition = value
[CategoryAttribute("Misc")] 
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(ContentDisposition.OnlyHtmlInline)] 
public ContentDisposition ExportContentDisposition { get; set; }
[CategoryAttribute(L"Misc")] 
[WebBrowsableAttribute(true)] 
[DefaultValueAttribute(ContentDisposition::OnlyHtmlInline)] 
public:
property ContentDisposition ExportContentDisposition {
    ContentDisposition get ();
    void set (ContentDisposition value);
}
/** @property */
public ContentDisposition get_ExportContentDisposition ()

/** @property */
public void set_ExportContentDisposition (ContentDisposition value)
public function get ExportContentDisposition () : ContentDisposition

public function set ExportContentDisposition (value : ContentDisposition)

Property Value

A ContentDisposition enumeration value indicating how content should be presented.

Remarks

Valid values are AlwaysAttachment, AlwayInline, or OnlyHtmlInline.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WebForms Namespace