Share via


CookieHeaderValue.Path Property

Gets or sets the virtual path to transmit with the current cookie.

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

Syntax

'Declaration
Public Property Path As String 
    Get 
    Set
'Usage
Dim instance As CookieHeaderValue 
Dim value As String 

value = instance.Path

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

Property Value

Type: System.String
The virtual path to transmit with the cookie.

See Also

Reference

CookieHeaderValue Class

System.Net.Http.Headers Namespace