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.

适用于

另请参阅