HttpRequestHeaders.AcceptEncoding 屬性

定義

取得 HTTP 要求的 Accept-Encoding 標頭值。Gets the value of the Accept-Encoding header for an HTTP request.

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

屬性值

HTTP 要求的 Accept-Encoding 標頭值。The value of the Accept-Encoding header for an HTTP request.

適用於