MediaTypeWithQualityHeaderValue Class

Represents a content-type header value with an additional quality.

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 NotInheritable Class MediaTypeWithQualityHeaderValue _
    Inherits MediaTypeHeaderValue
'Usage
Dim instance As MediaTypeWithQualityHeaderValue
public sealed class MediaTypeWithQualityHeaderValue : MediaTypeHeaderValue
public ref class MediaTypeWithQualityHeaderValue sealed : public MediaTypeHeaderValue
[<SealedAttribute>]
type MediaTypeWithQualityHeaderValue =  
    class 
        inherit MediaTypeHeaderValue 
    end
public final class MediaTypeWithQualityHeaderValue extends MediaTypeHeaderValue

The MediaTypeWithQualityHeaderValue type exposes the following members.

Constructors

  Name Description
Public method MediaTypeWithQualityHeaderValue(String) Initializes a new instance of the MediaTypeWithQualityHeaderValue class.
Public method MediaTypeWithQualityHeaderValue(String, Double) Initializes a new instance of the MediaTypeWithQualityHeaderValue class.

Top

Properties

  Name Description
Public property CharSet Gets or sets {insert text here}. (Inherited from MediaTypeHeaderValue.)
Public property MediaType Gets or sets {insert text here}. (Inherited from MediaTypeHeaderValue.)
Public property Parameters Gets {insert text here}. (Inherited from MediaTypeHeaderValue.)
Public property Quality Gets or sets {insert text here}.

Top

Methods

  Name Description
Public method Equals (Inherited from MediaTypeHeaderValue.)
Public method GetHashCode (Inherited from MediaTypeHeaderValue.)
Public method GetType (Inherited from Object.)
Public methodStatic member Parse
Public method ToString (Inherited from MediaTypeHeaderValue.)
Public methodStatic member 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.

See Also

Reference

System.Net.Http.Headers Namespace