Version

Insert(Int32,Object,String) Method

Insert an item into the collection
Syntax
'Declaration
 
Public Overloads Function Insert( _
   ByVal index As Integer, _
   ByVal dataValue As Object, _
   ByVal displayText As String _
) As ValueListItem
public ValueListItem Insert( 
   int index,
   object dataValue,
   string displayText
)

Parameters

index
Where to insert the item
dataValue
The value to compare
displayText
The display text

Return Value

The newly inserted item
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