Export (0) Print
Expand All

MediaTypeHeaderValue Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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 : ICloneable

The MediaTypeHeaderValue type exposes the following members.

  NameDescription
Public methodEquals (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCode (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberParse
Public methodToString (Overrides Object.ToString().)
Public methodStatic memberTryParse
Top

An example of a media-type would be "text/plain; charset=iso-8859-5.

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