Dela via


HttpLanguageRangeWithQualityHeaderValue.Quality Property

Definition

Gets the value of the qvalue or quality factor from the HttpLanguageRangeWithQualityHeaderValue used in the Accept-Language HTTP header.

public:
 property IReference<double> ^ Quality { IReference<double> ^ get(); };
IReference<double> Quality();
public System.Nullable<double> Quality { get; }
var iReference = httpLanguageRangeWithQualityHeaderValue.quality;
Public ReadOnly Property Quality As Nullable(Of Double)

Property Value

The value of the qvalue or quality factor.

Remarks

Each language-range can be given an associated quality value representing an estimate of the user's preference for the languages specified by that range. The quality must be in the range 0.0 to 1.0. No value for the Quality property is the same as q=1.

Applies to