MobileListItemCollection::Insert Method (Int32, MobileListItem^)

 

Adds an item to the specified location in the collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
void Insert(
	int index,
	MobileListItem^ item
)

Parameters

index
Type: System::Int32

The index.

item
Type: System.Web.UI.MobileControls::MobileListItem^

The item to be inserted into the list.

The index value must be between 0 and the size of the collection. If index is the size of the collection, item is added to the end of the collection.

.NET Framework
Available since 1.1

Insert Overload
MobileListItemCollection Class
System.Web.UI.MobileControls Namespace
Introduction to the List Control
Introduction to the SelectionList Control

Return to top
Show: