Share via


CookieHeaderValue.Cookies Property

Gets a collection of cookies sent by the client.

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public ReadOnly Property Cookies As Collection(Of CookieState)
    Get
'Usage
Dim instance As CookieHeaderValue 
Dim value As Collection(Of CookieState)

value = instance.Cookies
public Collection<CookieState> Cookies { get; }
public:
property Collection<CookieState^>^ Cookies {
    Collection<CookieState^>^ get ();
}
member Cookies : Collection<CookieState>
function get Cookies () : Collection<CookieState>

Property Value

Type: System.Collections.ObjectModel.Collection<CookieState>
A collection object representing the client’s cookie variables.

See Also

Reference

CookieHeaderValue Class

System.Net.Http.Headers Namespace