Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MediaTypeHeaderValue Class

Represents a media-type as defined in the RFC 2616.

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

public class MediaTypeHeaderValue

The MediaTypeHeaderValue type exposes the following members.

Public methodMediaTypeHeaderValue(String)Initializes a new instance of the MediaTypeHeaderValue class.
Protected methodMediaTypeHeaderValue(MediaTypeHeaderValue)Initializes a new instance of the MediaTypeHeaderValue class.

Public propertyCharSetGets or sets {insert text here}.
Public propertyMediaTypeGets or sets {insert text here}.
Public propertyParametersGets {insert text here}.

Public methodEquals (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberParse
Public methodToString (Overrides Object.ToString().)
Public methodStatic memberTryParse

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft