HttpRequestHeaderCollection.AcceptLanguage 属性

定义

获取 HttpLanguageRangeWithQualityHeaderValue 对象的 HttpLanguageRangeWithQualityHeaderValueCollection ,该对象表示 HTTP 请求中 Accept-Language HTTP 标头的值。

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

属性值

HttpLanguageRangeWithQualityHeaderValue 对象的集合,该对象表示 Accept-Language HTTP 标头的值。 空集合表示标头不存在。

适用于

另请参阅