共用方式為


HttpRequestHeaderCollection.AcceptEncoding 屬性

定義

取得 HttpContentCodingWithQualityHeaderValueCollectionHttpContentCodingWithQualityHeaderValue 物件,這些物件代表 HTTP 要求上 Accept-Encoding HTTP 標頭的值。

public:
 property HttpContentCodingWithQualityHeaderValueCollection ^ AcceptEncoding { HttpContentCodingWithQualityHeaderValueCollection ^ get(); };
HttpContentCodingWithQualityHeaderValueCollection AcceptEncoding();
public HttpContentCodingWithQualityHeaderValueCollection AcceptEncoding { get; }
var httpContentCodingWithQualityHeaderValueCollection = httpRequestHeaderCollection.acceptEncoding;
Public ReadOnly Property AcceptEncoding As HttpContentCodingWithQualityHeaderValueCollection

屬性值

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

適用於

另請參閱