Item Property

HttpCookie.Item Property (String)


Gets a shortcut to the HttpCookie.Values property. This property is provided for compatibility with previous versions of Active Server Pages (ASP).

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public string this[
	string key
] { get; set; }


Type: System.String

The key (index) of the cookie value.

Property Value

Type: System.String

The cookie value.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft