共用方式為


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

屬性值

屬性

適用於