HttpCookie.Value プロパティ

定義

各クッキーの値を取得または設定します。

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

プロパティ値

クッキーの値。 既定値は null 参照 (Visual Basic ではNothing ) です。

次のコード例では、既存の Cookie の値を "abc123" に設定します。

MyCookie.Value = "abc123";

MyCookie.Value = "abc123"
    

適用対象