DeviceSpecificChoiceCollection::Add Method (DeviceSpecificChoice^)
.NET Framework (current version)
Adds a DeviceSpecificChoice object to the end of a collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
Parameters
- choice
-
Type:
System.Web.UI.MobileControls::DeviceSpecificChoice^
The DeviceSpecificChoice object to add to the end of the collection.
The following code example demonstrates how to use the Add method to add a DeviceSpecificChoice object programmatically (with a filter named isCHTML10) to the form. This example is part of a larger example for the DeviceSpecificChoiceCollection overview.
.NET Framework
Available since 1.1
Available since 1.1
AddAt
Remove
DeviceSpecificChoice
DeviceSpecificChoiceCollection Class
System.Web.UI.MobileControls Namespace
Introduction to the DeviceSpecific Control
<DeviceSpecific> Element
<Choice> Element
Show: