AxHost.EndInit 方法

定義

結束 ActiveX 控制項的初始化。Ends the initialization of an ActiveX control.

public:
 virtual void EndInit();
public void EndInit ();
abstract member EndInit : unit -> unit
override this.EndInit : unit -> unit
Public Sub EndInit ()

實作

備註

設計環境通常會使用這個方法來完成對表單或另一個元件所使用之元件的初始化。Design environments typically use this method to finish the initialization of a component that is used on a form or used by another component. EndInit方法會結束初始化。The EndInit method ends the initialization. BeginInit使用和EndInit方法可防止控制項在完全初始化之前使用。Using the BeginInit and EndInit methods prevents the control from being used before it is fully initialized. 初始化發生於執行階段。The initialization occurs at run time.

適用於

另請參閱