DeviceSpecificChoice::GetAttribute Method (String^)

 

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.

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

protected:
String^ GetAttribute(
	String^ key
)

Parameters

key
Type: System::String^

The name of the attribute to get.

Return Value

Type: System::String^

A String that contains the value of the specified attribute.

Exception Condition
ArgumentException

There is no attribute in the object identified by key.

.NET Framework
Available since 2.0

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

Return to top
Show: