HttpContentDispositionHeaderValue.DispositionType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value of the disposition-type information in the Content-Disposition HTTP header.
public:
property Platform::String ^ DispositionType { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring DispositionType();
void DispositionType(winrt::hstring value);
public string DispositionType { get; set; }
var string = httpContentDispositionHeaderValue.dispositionType;
httpContentDispositionHeaderValue.dispositionType = string;
Public Property DispositionType As String
Property Value
The value of the disposition-type characteristic in the Content-Disposition HTTP header.
Remarks
The DispositionType property represents the disposition type for a content body part.
A body part should be marked with a DispositionType property of "inline" if it is intended to be displayed automatically upon display of the message. A body part can be designated with a DispositionType property of "attachment" to indicate that they are separate from the main body of the HTTP request or response.