System.Windows.Forms.AxHost.EndInit Method

Ends the initialization of an ActiveX control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public void EndInit ()

Remarks

Design environments typically use this method to finish the initialization of a component that is used on a form or used by another component. The AxHost.EndInit method ends the initialization. Using the AxHost.BeginInit and AxHost.EndInit methods prevents the control from being used before it is fully initialized. The initialization occurs at run time.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0