HttpRequestHeaders.AcceptLanguage 属性

定义

获取 HTTP 请求的 Accept-Language 标头值。

public:
 property System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::StringWithQualityHeaderValue ^> ^ AcceptLanguage { System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::StringWithQualityHeaderValue ^> ^ get(); };
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.StringWithQualityHeaderValue> AcceptLanguage { get; }
member this.AcceptLanguage : System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.StringWithQualityHeaderValue>
Public ReadOnly Property AcceptLanguage As HttpHeaderValueCollection(Of StringWithQualityHeaderValue)

属性值

HTTP 请求的 Accept-Language 标头值。

适用于