Dela via


HttpContentDispositionHeaderValue(String) Constructor

Definition

Initializes a new instance of the HttpContentDispositionHeaderValue class with content-coding information for use in the Content-Disposition HTTP header.

public:
 HttpContentDispositionHeaderValue(Platform::String ^ dispositionType);
 HttpContentDispositionHeaderValue(winrt::hstring const& dispositionType);
public HttpContentDispositionHeaderValue(string dispositionType);
function HttpContentDispositionHeaderValue(dispositionType)
Public Sub New (dispositionType As String)

Parameters

dispositionType
String

Platform::String

winrt::hstring

The content disposition value to be used in the Content-Disposition HTTP header. For valid values, see Content Disposition Values and Content-Disposition .

Examples

See the code example in HttpContentHeaderCollection class.

Applies to

See also