Skip to main content
HttpContentDispositionHeaderValue.HttpContentDispositionHeaderValue constructor

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

Syntax


var httpContentDispositionHeaderValue = new Windows.Web.Http.Headers.HttpContentDispositionHeaderValue(dispositionType);

public HttpContentDispositionHeaderValue(
  string dispositionType
)

Public Sub New (
  dispositionType As String 
)

public:
HttpContentDispositionHeaderValue(
  String^ dispositionType
)

Parameters

dispositionType

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The value of the disposition-type information to be used in the Content-Disposition HTTP header.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

HttpContentDispositionHeaderValue