Modifier

Partager via


HttpCookie.Item[String] Property

Definition

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

public:
 property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ key); void set(System::String ^ key, System::String ^ value); };
public string this[string key] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(key As String) As String

Parameters

key
String

The key (index) of the cookie value.

Property Value

The cookie value.

Applies to

See also