BaseControlArray.ISupportInitialize.EndInit Method


Ends the initialization of a control.

 virtual void EndInit() = System::ComponentModel::ISupportInitialize::EndInit;
void ISupportInitialize.EndInit ();
abstract member EndInit : unit -> unit
override this.EndInit : unit -> unit
Sub EndInit () Implements ISupportInitialize.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. The EndInit method ends the initialization. Using the ISupportInitialize.BeginInit and EndInit methods prevents the control from being used before it is fully initialized. The initialization occurs at run time.


Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to