NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpCookie.Values

Gets individual key:value pairs within a cookie.

[Visual Basic]
Public ReadOnly Property Values As NameValueCollection
[C#]
public NameValueCollection Values {get;}
[C++]
public: __property NameValueCollection* get_Values();
[JScript]
public function get Values() : NameValueCollection;

Example [C#]

[C#]

// This example assigns the value of a sub-key to a string.
String subkey1 = Request.Cookies["Personalization"]["age"]

See Also

HttpCookie Class | HttpCookie Members | System.Web Namespace