HttpRequestHeaderCollection.AcceptEncoding 属性

定义

获取 HttpContentCodingWithQualityHeaderValue 对象的 HttpContentCodingWithQualityHeaderValueCollection ,这些对象表示 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

属性值

HttpContentCodingWithQualityHeaderValue 对象的集合,该对象表示 Accept-Encoding HTTP 标头的值。 空集合表示标头不存在。

适用于

另请参阅