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


Свойство ReportViewer.ExportContentDisposition

Возвращает или задает значение, определяющее, как должно быть представлено содержимое: встроенным способом или в виде вложения.

Пространство имен:  Microsoft.Reporting.WebForms
Сборка:  Microsoft.ReportViewer.WebForms (в Microsoft.ReportViewer.WebForms.dll)

Синтаксис

'Декларация
<WebBrowsableAttribute(True)> _
Public Property ExportContentDisposition As ContentDisposition
    Get
    Set
'Применение
Dim instance As ReportViewer
Dim value As ContentDisposition

value = instance.ExportContentDisposition

instance.ExportContentDisposition = value
[WebBrowsableAttribute(true)]
public ContentDisposition ExportContentDisposition { get; set; }
[WebBrowsableAttribute(true)]
public:
property ContentDisposition ExportContentDisposition {
    ContentDisposition get ();
    void set (ContentDisposition value);
}
[<WebBrowsableAttribute(true)>]
member ExportContentDisposition : ContentDisposition with get, set
function get ExportContentDisposition () : ContentDisposition
function set ExportContentDisposition (value : ContentDisposition)

Значение свойства

Тип: Microsoft.Reporting.WebForms.ContentDisposition
Значение перечисления ContentDisposition, указывающее, как должно быть представлено содержимое.

Замечания

Допустимыми значениями являются AlwaysAttachment, AlwayInline и OnlyHtmlInline.

См. также

Справочник

ReportViewer Класс

Пространство имен Microsoft.Reporting.WebForms