Share via


Add Method (ListBoxItem)

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

Adds a list box item (element) to the current collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As ListBoxItem _
) As Integer
public int Add(
    ListBoxItem item
)
public:
int Add(
    ListBoxItem^ item
)
member Add : 
        item:ListBoxItem -> int 
public function Add(
    item : ListBoxItem
) : int

Parameters

Return Value

Type: System. . :: . .Int32
The index number of the item that was added to the current collection.

.NET Framework Security

See Also

Reference

ListBoxItemCollection Class

Add Overload

Microsoft.SPOT.Presentation.Controls Namespace