Skip to main content
HttpMediaTypeHeaderValue.Parameters | parameters property

Applies to Windows and Windows Phone

Gets a set of parameters included in the Content-Type HTTP header.

Syntax


var parameters = httpMediaTypeHeaderValue.parameters;

public IList<HttpNameValueHeaderValue> Parameters { get; }

Public ReadOnly Property Parameters As IList(Of HttpNameValueHeaderValue)

public:
property IVector<HttpNameValueHeaderValue>^ Parameters { 
   IVector<HttpNameValueHeaderValue>^ get();
}

Property value

Type: IVector<HttpNameValueHeaderValue> [JavaScript/C++] | System.Collections.Generic.IList<HttpNameValueHeaderValue> [.NET]

A set of parameters.

Remarks

The Parameters property contains a set of zero or more name/value pairs associated with the MediaType.

The CharSet property is one name/value pair. The CharSet property is a shortcut to access the value of the entry in the Parameters list whose name is charset.

Requirements

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

HttpMediaTypeHeaderValue