'Declaration Protected Overridable Sub OnRemovedFromCollection( _ ByVal primaryCollection As KeyedObjectCollectionBase _ )
protected virtual void OnRemovedFromCollection( KeyedObjectCollectionBase primaryCollection )
The default implementation of this method nulls out the PrimaryCollection if the supplied primaryCollection matches the primary collection of this object.
Inheritors overriding this method should always call this base implementation to assure the object has only one distinct primary collection.
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