HttpCookie.Item[String] Propiedad

Definición

Obtiene un acceso directo a la propiedad Values. Se proporciona esta propiedad para que exista compatibilidad con versiones anteriores de las páginas Active Server (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

Parámetros

key
String

Clave (índice) del valor de la cookie.

Valor de propiedad

String

Valor de la cookie.

Se aplica a

Consulte también