Version

SetItem Method (GaugeCollectionBase)

Sets the item at the specified index in the collection.
Syntax
'Declaration
 
Protected Overridable Sub SetItem( _
   ByVal index As Integer, _
   ByVal obj As GaugeCollectionObject _
) 
protected virtual void SetItem( 
   int index,
   GaugeCollectionObject obj
)

Parameters

index
The index of the item to set.
obj
The item to set at the specified index.
Remarks

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