Redigera

Dela via


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.

protected:
 virtual void AddAccesskeyAttribute(System::Web::UI::MobileControls::Adapters::HtmlMobileTextWriter ^ writer);
protected virtual void AddAccesskeyAttribute (System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter writer);
abstract member AddAccesskeyAttribute : System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter -> unit
override this.AddAccesskeyAttribute : System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter -> unit
Protected Overridable Sub AddAccesskeyAttribute (writer As HtmlMobileTextWriter)

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

See also