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> 項目的 屬性<

適用於

另請參閱