共用方式為


CookieHandler.Domain 屬性

定義

取得或設定用於 Cookie 的網域。

public:
 virtual property System::String ^ Domain { System::String ^ get(); void set(System::String ^ value); };
public virtual string Domain { get; set; }
member this.Domain : string with get, set
Public Overridable Property Domain As String

屬性值

用於 Cookie 的網域。 預設值為 null

備註

對應至 HttpCookie.Domain 屬性。

此屬性可透過設定中指定 domaincookieHandler> 元素的屬性<來初始化。

適用於

另請參閱