Share via


CookieState.Item Property (String)

 

Gets or sets the cookie value with the specified cookie name, if the cookie data is structured.

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

Syntax

public string this[
    string subName
] { get; set; }
public:
property String^ default[
    String^ subName
] {
    String^ get(String^ subName);
    void set(String^ subName, String^ value);
}
member Item : 
        subName:string -> string with get, set
Public Property Item (
    subName As String
) As String

Parameters

Property Value

Type: System.String

The cookie value with the specified cookie name.

See Also

CookieState Class
System.Net.Http.Headers Namespace

Return to top