Version

OnInsertComplete Method (HierarchicalObjectCollection)

This method is used primarily by control developers and derivations of existing controls. Called by the framework when an object has been inserted, or added, to the collection. This method ensures that the inserted object has the appropriate owner assigned to it.
Syntax
'Declaration
 
Protected Overrides Sub OnInsertComplete( _
   ByVal index As Integer, _
   ByVal insertedItem As Object _
) 
protected override void OnInsertComplete( 
   int index,
   object insertedItem
)

Parameters

index
The index at which the object was inserted.
insertedItem
A reference to the object that was inserted.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also