共用方式為


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

適用於