AddAccesskeyAttribute Method

HtmlControlAdapter.AddAccesskeyAttribute Method (HtmlMobileTextWriter)


Writes a custom attribute access key method, provided that the device supports the attribute. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

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

protected virtual void AddAccesskeyAttribute(
	HtmlMobileTextWriter writer


Type: System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter

The text writer.

The AddAccesskeyAttribute method can be called by any HTML control adapter to add an attribute. Because it is virtual, it also can be customized by adapters that inherit this method.

To determine whether a device supports an access key attribute, use the SupportsAccesskeyAttribute property.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft