Version

CreateItem Method

Returns a new item to be assigned to a location in the array. CreateItem should not set the new item at the location in the array. Array and relativeIndex are provided for information only. Also the implementation should not modify array in any way otherwise results will be undefined.
Syntax
'Declaration
 
Function CreateItem( _
   ByVal array As SparseArray, _
   ByVal relativeIndex As Integer _
) As Object
object CreateItem( 
   SparseArray array,
   int relativeIndex
)

Parameters

array
The array to provide as context; this array will remain unmodified.
relativeIndex
The relative index of the item to create.
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