SetCookieHeaderValue.Path 属性

定义

获取或设置 Cookie 属性的值 Path

path 属性指定要将 Cookie 发送到的那些主机。

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public:
 property Microsoft::Extensions::Primitives::StringSegment Path { Microsoft::Extensions::Primitives::StringSegment get(); void set(Microsoft::Extensions::Primitives::StringSegment value); };
public string Path { get; set; }
public Microsoft.Extensions.Primitives.StringSegment Path { get; set; }
member this.Path : string with get, set
member this.Path : Microsoft.Extensions.Primitives.StringSegment with get, set
Public Property Path As String
Public Property Path As StringSegment

属性值

注解

请参阅 https://tools.ietf.org/html/rfc6265#section-4.1.2.4

适用于