CookieHandlerElement.Path 属性
定义
获取或设置处理程序编写的 Cookie 的路径值。Gets or sets the path value for cookies written by the handler.
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
属性值
包含路径的字符串。A string that contains the path.
- 属性
注解
如果未定义路径,则使用属性定义的路径 AppDomainAppVirtualPath 。If no path is defined, the path defined by the AppDomainAppVirtualPath property is used.
表示 path < cookieHandler > 元素的特性。Represents the path attribute of the <cookieHandler> element.