Jaa


HttpContentDispositionHeaderValue.DispositionType Property

Definition

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

String

Platform::String

winrt::hstring

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.

Applies to