System.Windows.Forms.AxHost.BeginInit Method

Begins the initialization of the ActiveX control.

Syntax

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

Remarks

Design environments typically use this method to start 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