The following tables list the members exposed by ContentType.

Public Constructors

Public ConstructorsContentType Constructor(String)Initializes a new instance of ContentType header value with the specified media type.

Public Properties

Public PropertiesBoundaryGets or sets the 'boundary' parameter of this content type.
Public PropertiesCharSetGets or sets the 'charset' parameter of this content type.
Public PropertiesEncodingGets the 'charset' of this content type to Encoding.
Public PropertiesMediaTypeGets the internet media type in the format of 'type/subtype'.
Public PropertiesParametersGets the list of parameters of this content type.

Public Methods

Public MethodsCloneCreates a copy of the header.
Public MethodsEncodeWrites an encoded header value into a TextWriter.
Public MethodsEqualsOverridden. Determines whether the specified ContentType is equal to the current ContentType.
Public MethodsGetHashCodeOverridden. Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
Public MethodsToStringOverridden. Converts the value of this header to its String representation.

See Also