Dela via


HttpRequestHeaderCollection.AcceptLanguage Property

Definition

Gets the HttpLanguageRangeWithQualityHeaderValueCollection of HttpLanguageRangeWithQualityHeaderValue objects that represent the value of an Accept-Language HTTP header on an HTTP request.

public:
 property HttpLanguageRangeWithQualityHeaderValueCollection ^ AcceptLanguage { HttpLanguageRangeWithQualityHeaderValueCollection ^ get(); };
HttpLanguageRangeWithQualityHeaderValueCollection AcceptLanguage();
public HttpLanguageRangeWithQualityHeaderValueCollection AcceptLanguage { get; }
var httpLanguageRangeWithQualityHeaderValueCollection = httpRequestHeaderCollection.acceptLanguage;
Public ReadOnly Property AcceptLanguage As HttpLanguageRangeWithQualityHeaderValueCollection

Property Value

The collection of HttpLanguageRangeWithQualityHeaderValue objects that represent the value of an Accept-Language HTTP header. An empty collection means that the header is absent.

Applies to

See also