MediaTypeHeaderValue Class
Represents a media-type as defined in the RFC 2616.
Inheritance Hierarchy
System.Object
System.Net.Http.Headers.MediaTypeHeaderValue
System.Net.Http.Headers.MediaTypeWithQualityHeaderValue
Namespace: System.Net.Http.Headers
Assembly: System.Net.Http (in System.Net.Http.dll)
Syntax
'Declaration
Public Class MediaTypeHeaderValue
'Usage
Dim instance As MediaTypeHeaderValue
public class MediaTypeHeaderValue
public ref class MediaTypeHeaderValue
type MediaTypeHeaderValue = class end
public class MediaTypeHeaderValue
The MediaTypeHeaderValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MediaTypeHeaderValue(String) | Initializes a new instance of the MediaTypeHeaderValue class. | |
MediaTypeHeaderValue(MediaTypeHeaderValue) | Initializes a new instance of the MediaTypeHeaderValue class. |
Top
Properties
Name | Description | |
---|---|---|
CharSet | Gets or sets {insert text here}. | |
MediaType | Gets or sets {insert text here}. | |
Parameters | Gets {insert text here}. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Overrides Object.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Overrides Object.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Parse | ||
ToString | (Overrides Object.ToString().) | |
TryParse |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.