HttpRequestHeaderCollection.Cookie HttpRequestHeaderCollection.Cookie HttpRequestHeaderCollection.Cookie HttpRequestHeaderCollection.Cookie HttpRequestHeaderCollection.Cookie Property

Definition

Gets the HttpCookiePairHeaderValueCollection of HttpCookiePairHeaderValue objects that represent the value of an Cookie HTTP header sent on an HTTP request.

public : HttpCookiePairHeaderValueCollection Cookie { get; }
HttpCookiePairHeaderValueCollection Cookie();
public HttpCookiePairHeaderValueCollection Cookie { get; }
Public ReadOnly Property Cookie As HttpCookiePairHeaderValueCollection
var httpCookiePairHeaderValueCollection = httpRequestHeaderCollection.cookie;

Property Value

The collection of HttpCookiePairHeaderValue objects that represent the HTTP cookies in a Cookie HTTP header. An empty collection means that the header is absent.

See also