CookieTempDataProviderOptions.Path 属性

定义

注意

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.

此属性已过时,将在将来的版本中删除。 建议的替代项是在 上 Cookie

在 Cookie 上设置的路径。 如果设置为 null,则 Cookie 上的“path”属性设置为当前请求 PathBase 的值。 如果 的PathBasenull值为 或空,则“path”属性设置为 的值Path

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")]
public string Path { get; set; }
member this.Path : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")>]
member this.Path : string with get, set
Public Property Path As String

属性值

属性

适用于