HttpCookie.Value Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan atau menetapkan nilai cookie individual.
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
Nilai Properti
Nilai cookie. Nilai default adalah referensi null (Nothing dalam Visual Basic).
Contoh
Contoh kode berikut menetapkan nilai cookie yang ada ke "abc123".
MyCookie.Value = "abc123";
MyCookie.Value = "abc123"