CookieHandlerElement.Path 属性

定义

获取或设置处理程序编写的 Cookie 的路径值。

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("path", IsRequired=false)]
public string Path { get; set; }
[<System.Configuration.ConfigurationProperty("path", IsRequired=false)>]
member this.Path : string with get, set
Public Property Path As String

属性值

包含路径的字符串。

属性

注解

如果未定义路径,则使用 由 AppDomainAppVirtualPath 属性定义的路径。

表示 pathcookieHandler> 元素的< 属性。

适用于

另请参阅