DeviceSpecificChoice.GetAttribute Method (String)
.NET Framework (current version)
Returns the specified attribute from the DeviceSpecificChoice object. 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
- key
-
Type:
System.String
The name of the attribute to get.
| Exception | Condition |
|---|---|
| ArgumentException | There is no attribute in the object identified by key. |
.NET Framework
Available since 2.0
Available since 2.0
DeviceSpecificChoice Class
System.Web.UI.MobileControls Namespace
Introduction to the DeviceSpecific Control
<Choice> Element
<DeviceSpecific> Element
Show: