Version

OnRemoveComplete Method (ActivitiesCollection)

Receives a notification from the base collection when an Activity has been removed.
Syntax
'Declaration
 
Protected Overrides Sub OnRemoveComplete( _
   ByVal index As Integer, _
   ByVal webObject As Object _
) 
protected override void OnRemoveComplete( 
   int index,
   object webObject
)

Parameters

index
The index at which the Activity was removed (zero-based).
webObject
An object reference to the Activity.
Remarks

This notification allows inheritors extending the base collection class to react to removals with follow-up processing.

Inheritors must call the base class implementation of this method before their own processing to ensure WebScheduleInfo (which holds a reference to this collection) can be properly informed of a change within the collection.

This method is not called in response to a Clear operation, even though a Clear is analogous to removing every item contained within the collection.

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