ContentTypeHeaderValue Class

ContentTypeHeaderValue class

Represents a Content-Type header value.

public class ContentTypeHeaderValue : NameValueHeaderValue

Properties

NameDescription
CharSet { get; set; }Gets or sets the character-set for content.
MediaType { get; set; }Gets or sets the media-type for content.
Name { get; }Gets the parameter name.
Value { get; set; }Gets or sets the parameter value.

Methods

NameDescription
override ToString()Returns a String that represents this instance.

See Also