Export (0) Print
Expand All

DeviceSpecificChoice.SetAttribute Method

Assigns the given value to the attribute specified by the key. 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 void SetAttribute(
	string key,
	string value
)

Parameters

key
Type: System.String

The name of the attribute to set.

value
Type: System.String

The value that is assigned to the attribute.

.NET Framework

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