Bewerken

Delen via


HtmlControlAdapter.AddJPhoneMultiMediaAttributes(HtmlMobileTextWriter) Method

Definition

Use this method to write custom attributes for J-Phone multimedia attributes. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Parameters

writer
HtmlMobileTextWriter

The text writer to use to write the custom attributes.

Remarks

The AddJPhoneMultiMediaAttributes method writes the src, soundstart, loop, volume, vibration, and viblength attributes in <a> and <input> elements, if the device supports the attributes. To determine whether a device supports an access key attribute, use the SupportsAccesskeyAttribute property.

This method can be called by any HTML control adapter to add the attributes. Because it is virtual, it also can be customized by adapters that inherit this method.

Applies to

See also