HtmlWindow.Parent 屬性

定義

取得位於包含框架的網頁中目前視窗上方的視窗。

public:
 property System::Windows::Forms::HtmlWindow ^ Parent { System::Windows::Forms::HtmlWindow ^ get(); };
public System.Windows.Forms.HtmlWindow Parent { get; }
member this.Parent : System.Windows.Forms.HtmlWindow
Public ReadOnly Property Parent As HtmlWindow

屬性值

HtmlWindow

主控目前視窗的 HtmlWindow。 如果目前的視窗不是 FRAME,或未內嵌在 FRAME內,則會傳 null 回 。

備註

在包含框架的檔中,每個 FRAME 在 內 FRAMESET 都會作為頁面上的個別子視窗。 每個 FRAME 的父系是 FRAMESET 包含 的 FRAME

適用於

另請參閱