HttpCookie.Value Propriedade

Definição

Recebe ou define um valor individual de cookie.

public:
 property System::String ^ Value { System::String ^ get(); void set(System::String ^ value); };
public string Value { get; set; }
member this.Value : string with get, set
Public Property Value As String

Valor de Propriedade

O valor da bolacha. O valor padrão é uma referência nula (Nothing em Visual Basic).

Exemplos

O seguinte exemplo de código define o valor de um cookie existente para "abc123".

MyCookie.Value = "abc123";

MyCookie.Value = "abc123"
    

Aplica-se a