[This is preliminary documentation and is subject to change.]

Gets the text to use in the Content-Disposition header.

Namespace: Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

string ContentDisposition { get; }

VB

ReadOnly Property ContentDisposition As String

Get

C++

property String^ ContentDisposition {

String^ get();

}

Remarks

Return null to omit the Content-Disposition header. Use a string like "attachment; filename=myfile.txt" to force the browser to download the content as a file instead of displaying it.

See Also

IOutputStreamIOutputStreamIOutputStream Interface
Simple.Web.BehaviorsSimple.Web.BehaviorsSimple::Web::Behaviors Namespace