Share via


CookieState.Value Property

Gets or sets the cookie value, if cookie data is a simple string value.

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Property Value As String 
    Get 
    Set
'Usage
Dim instance As CookieState 
Dim value As String 

value = instance.Value

instance.Value = value
public string Value { get; set; }
public:
property String^ Value {
    String^ get ();
    void set (String^ value);
}
member Value : string with get, set
function get Value () : String 
function set Value (value : String)

Property Value

Type: System.String
The value of the cookie.

See Also

Reference

CookieState Class

System.Net.Http.Headers Namespace