共用方式為


HttpRequestHeaderCollection.Connection 屬性

定義

取得HttpConnectionOptionHeaderValueCollection 的 HttpConnectionOptionHeaderValue物件,這些物件代表 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連線標頭的HttpConnectionOptionHeaderValue物件集合。 空集合表示標頭不存在。

適用於

另請參閱