HttpContentDispositionHeaderValue(String) Constructor
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.
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.