DeviceSpecificChoice.GetAttribute Method

Returns the specified attribute from the DeviceSpecificChoice object.

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

protected:
String^ GetAttribute (
	String^ key
)
protected String GetAttribute (
	String key
)
protected function GetAttribute (
	key : String
) : String
Not applicable.

Parameters

key

The name of the attribute to get.

Return Value

A String that contains the value of the specified attribute.

Exception typeCondition

ArgumentException

There is no attribute in the object identified by key.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: