Version

NotifyInsertItem Method (BaseDataSource)

Manually notifies the data source that an item has been inserted 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 NotifyInsertItem( _
   ByVal index As Integer, _
   ByVal newItem As Object _
) 
public void NotifyInsertItem( 
   int index,
   object newItem
)

Parameters

index
The index of the inserted item.
newItem
The new 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