HttpRequestHeaderCollection.Connection 属性

定义

获取 HttpConnectionOptionHeaderValue 对象的 HttpConnectionOptionHeaderValueCollection ,这些对象表示 HTTP 请求上的 Connection HTTP 标头的值。

public:
 property HttpConnectionOptionHeaderValueCollection ^ Connection { HttpConnectionOptionHeaderValueCollection ^ get(); };
HttpConnectionOptionHeaderValueCollection Connection();
public HttpConnectionOptionHeaderValueCollection Connection { get; }
var httpConnectionOptionHeaderValueCollection = httpRequestHeaderCollection.connection;
Public ReadOnly Property Connection As HttpConnectionOptionHeaderValueCollection

属性值

表示 HTTP Connection 标头的 HttpConnectionOptionHeaderValue 对象的集合。 空集合表示标头不存在。

适用于

另请参阅