共用方式為


HttpRequestHeaders.AcceptEncoding 屬性

定義

取得 HTTP 要求的 Accept-Encoding 標頭值。

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 標頭值。

適用於