Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

  NameDescription
Public methodMediaTypeHeaderValue(String)Initializes a new instance of the MediaTypeHeaderValue class.
Protected methodMediaTypeHeaderValue(MediaTypeHeaderValue)Initializes a new instance of the MediaTypeHeaderValue class.
Top
  NameDescription
Public propertyCharSetGets or sets {insert text here}.
Public propertyMediaTypeGets or sets {insert text here}.
Public propertyParametersGets {insert text here}.
Top
  NameDescription
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
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.