WmlControlAdapter.RenderLink Metodo

Definizione

Esegue il rendering di un intero collegamento, al cui interno si trova il testo specificato. Questa API è obsoleta. Per informazioni su come sviluppare applicazioni ASP.NET per dispositivi mobili, vedere App per dispositivi mobili & Siti con ASP.NET.

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

Parametri

writer
WmlMobileTextWriter

Writer di testo specificato.

targetUrl
String

Destinazione dell'URL.

softkeyLabel
String

Testo del tasto softkey da utilizzare per il collegamento.

implicitSoftkeyLabel
Boolean

Impostare su true se viene eseguito il mapping a un tasto softkey nel dispositivo.

mapToSoftkey
Boolean

Impostare su true se l'etichetta di tasto softkey proviene dall'adattatore stesso (etichetta predefinita o altro specificato dall'adattatore, ad esempio "Call" per un controllo PhoneCall) e non è un'etichetta di tasto softkey specificata esplicitamente dall'autore dell'applicazione.

text
String

Testo che definisce il collegamento.

breakAfter
Boolean

Impostare su true se la BreakAfter proprietà deve essere impostata.

Commenti

Se il mapToSoftKey parametro è impostato su true, viene visualizzato il testo del softkeyLabel parametro .

Si applica a

Vedi anche