Share via


HttpMediaTypeWithQualityHeaderValue.Quality Property

Definition

Get or set the qvalue or quality used in the Accept HTTP header.

public:
 property IReference<double> ^ Quality { IReference<double> ^ get(); void set(IReference<double> ^ value); };
IReference<double> Quality();

void Quality(IReference<double> value);
public System.Nullable<double> Quality { get; set; }
var iReference = httpMediaTypeWithQualityHeaderValue.quality;
httpMediaTypeWithQualityHeaderValue.quality = iReference;
Public Property Quality As Nullable(Of Double)

Property Value

The qvalue or quality.

Remarks

The Quality property represents the quality factor that allows the user agent to indicate the relative degree of preference for the media type in a header. Quality uses a scale from 0 to 1. The default value is q=1.

Applies to