Version

InsertItem Method

Inserts an object into this collection at the specified index.
Syntax
'Declaration
 
Protected Overridable Sub InsertItem( _
   ByVal index As Integer, _
   ByVal obj As GaugeCollectionObject _
) 
protected virtual void InsertItem( 
   int index,
   GaugeCollectionObject obj
)

Parameters

index
The index at which to insert the object.
obj
The object to add.
Remarks

Classes derived from GaugeCollectionBase should call this method whenever inserting an object to 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