Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DeviceSpecificChoice.GetAttribute Method

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.

ExceptionCondition
ArgumentException

There is no attribute in the object identified by key.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft