Version

NotifyRemoveItem Method (BaseDataSource)

Manually notifies the data source that an item has been removed in the data it is bound to. This should not be necessary to call if the data that the data source is bound to is already observable.
Syntax
'Declaration
 
Public Sub NotifyRemoveItem( _
   ByVal index As Integer, _
   ByVal oldItem As Object _
) 
public void NotifyRemoveItem( 
   int index,
   object oldItem
)

Parameters

index
The index of the removed item.
oldItem
The old item at the designated index. You can optionally omit this value only if IsVirtual == true for this data source.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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