Dela via


HttpRequestHeaderCollection.Connection Property

Definition

Gets the HttpConnectionOptionHeaderValueCollection of HttpConnectionOptionHeaderValue objects that represent the value of a Connection HTTP header on an HTTP request.

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

Property Value

The collection of HttpConnectionOptionHeaderValue objects that represent the HTTP Connection header. An empty collection means that the header is absent.

Applies to

See also