ערוך

שתף באמצעות


WmlControlAdapter.RenderBeginLink Method

Definition

Renders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 void RenderBeginLink(System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter ^ writer, System::String ^ targetUrl, System::String ^ softkeyLabel, bool implicitSoftkeyLabel, bool mapToSoftkey);
protected void RenderBeginLink (System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter writer, string targetUrl, string softkeyLabel, bool implicitSoftkeyLabel, bool mapToSoftkey);
member this.RenderBeginLink : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter * string * string * bool * bool -> unit
Protected Sub RenderBeginLink (writer As WmlMobileTextWriter, targetUrl As String, softkeyLabel As String, implicitSoftkeyLabel As Boolean, mapToSoftkey As Boolean)

Parameters

writer
WmlMobileTextWriter

The text writer.

targetUrl
String

The specified target (form or URL).

softkeyLabel
String

Text used for the softkey.

implicitSoftkeyLabel
Boolean

Set to true if the softkey label comes from the adapter itself (the default label, or something else that is adapter specified, such as "Call" for a PhoneCall, rather than a softkey label explicitly specified by the application author.

mapToSoftkey
Boolean

Determines whether a softkey label is used for the link. If true, the softkeyLabel text is used.

Remarks

This method automatically checks for the type of link and renders the appropriate markup language. The specified target can refer to another URL or to a form on the same page.

Applies to

See also