Redigera

Dela via


HttpRequestHeaders.AcceptLanguage Property

Definition

Gets the value of the Accept-Language header for an HTTP request.

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)

Property Value

The value of the Accept-Language header for an HTTP request.

Applies to