Share via


Insert Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Inserts an item (element) into the current collection.

Namespace:  Microsoft.SPOT.Presentation.Controls
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    item As ListBoxItem _
)
public void Insert(
    int index,
    ListBoxItem item
)
public:
void Insert(
    int index, 
    ListBoxItem^ item
)
member Insert : 
        index:int * 
        item:ListBoxItem -> unit 
public function Insert(
    index : int, 
    item : ListBoxItem
)

Parameters

  • index
    Type: System. . :: . .Int32
    The index number in the current collection where you want to insert the item.

.NET Framework Security

See Also

Reference

ListBoxItemCollection Class

Microsoft.SPOT.Presentation.Controls Namespace