DeviceSpecificChoiceCollection.AddAt Method (Int32, DeviceSpecificChoice)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds a choice at the location in the collection specified by the index parameter. 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 AddAt(
	int index,
	DeviceSpecificChoice choice
)

Parameters

index
Type: System.Int32

The location in the collection at which to add choice.

choice
Type: System.Web.UI.MobileControls.DeviceSpecificChoice

The DeviceSpecificChoice to add to the collection.

A value of -1 for the index parameter specifies that the command is added to the end of the collection.

.NET Framework
Available since 1.1

RemoveAt
Add
DeviceSpecificChoice
DeviceSpecificChoiceCollection Class
System.Web.UI.MobileControls Namespace
Introduction to the DeviceSpecific Control
<DeviceSpecific> Element
<Choice> Element

Return to top
Show: