HtmlControlAdapter.AddAccesskeyAttribute(HtmlMobileTextWriter) Method

Definition

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 Mobile Apps & Sites with ASP.NET.

C#
protected virtual void AddAccesskeyAttribute(System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter writer);

Parameters

writer
HtmlMobileTextWriter

The text writer.

Remarks

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.

Applies to

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also