Page.FrameworkInitialize Page.FrameworkInitialize Page.FrameworkInitialize Page.FrameworkInitialize Method

定義

根據頁面的宣告式性質,在頁面產生期間初始化控制項樹狀結構。Initializes the control tree during page generation based on the declarative nature of the page.

protected:
 override void FrameworkInitialize();
protected override void FrameworkInitialize ();
override this.FrameworkInitialize : unit -> unit
Protected Overrides Sub FrameworkInitialize ()

備註

FrameworkInitialize方法會Page初始化物件,並根據頁面的宣告式本質來建立控制項樹狀結構。The FrameworkInitialize method initializes the Page object and creates the control tree based on the declarative nature of the page. 類別的頁面剖析和程式碼產生FrameworkInitialize會覆寫方法,以取得宣告Page式頁面。The FrameworkInitialize method is overridden by the page parsing and code generation for the Page class for a declarative page. 一般來說,您不需要覆寫此方法。Ordinarily, you should not over need to override this method. 如果覆寫,請務必呼叫基類的FrameworkInitialize方法。If overriding, be sure to call the base class's FrameworkInitialize method.

適用於

另請參閱