SetCookieHeaderValue.Path 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 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。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈