Version

CreateControlDataItem(Int32) Method

Creates and returns an instance of an item that can be added to the collection.
Syntax
'Declaration
 
Protected Overloads Overridable Function CreateControlDataItem( _
   ByVal index As Integer _
) As ControlDataItem
protected virtual ControlDataItem CreateControlDataItem( 
   int index
)

Parameters

index

Return Value

Item of type the collection supports.
Remarks
Can be overriden in a derived class to substitute items in 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