Dela via


HttpMediaTypeHeaderValue.Parameters Property

Definition

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

public:
 property IVector<HttpNameValueHeaderValue ^> ^ Parameters { IVector<HttpNameValueHeaderValue ^> ^ get(); };
IVector<HttpNameValueHeaderValue> Parameters();
public IList<HttpNameValueHeaderValue> Parameters { get; }
var iVector = httpMediaTypeHeaderValue.parameters;
Public ReadOnly Property Parameters As IList(Of HttpNameValueHeaderValue)

Property Value

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.

Applies to