Version

OnAddedToCollection Method (ControlDataField)

Is called when an object is added to collection. This was refactored a bit so that the objects which inherite from this class can overwrite this method and their own logic.
Syntax
'Declaration
 
Protected Overridable Sub OnAddedToCollection( _
   ByVal owner As ObjectCollection _
) 
protected virtual void OnAddedToCollection( 
   ObjectCollection owner
)

Parameters

owner
The collection the object is being added to
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