Megosztás a következőn keresztül:


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:
 property HttpCookiePairHeaderValueCollection ^ Cookie { HttpCookiePairHeaderValueCollection ^ get(); };
HttpCookiePairHeaderValueCollection Cookie();
public HttpCookiePairHeaderValueCollection Cookie { get; }
var httpCookiePairHeaderValueCollection = httpRequestHeaderCollection.cookie;
Public ReadOnly Property Cookie As HttpCookiePairHeaderValueCollection

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.

Applies to

See also