共用方式為


HttpRequestHeaderCollection.AcceptLanguage 屬性

定義

取得 HttpLanguageRangeWithQualityHeaderValueCollectionHttpLanguageRangeWithQualityHeaderValue 物件,這些物件代表 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

屬性值

代表Accept-Language HTTP 標頭值的HttpLanguageRangeWithQualityHeaderValue物件的集合。 空集合表示標頭不存在。

適用於

另請參閱