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:
property String^ default[
	String^ key
] {
	String^ get(String^ key);
	void set(String^ key, String^ value);
}

Parameters

key
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
Show: