WmlControlAdapter.RenderLink Método

Definição

Renderiza um link inteiro, com o texto especificado dentro. Essa API está obsoleta. Para obter informações sobre como desenvolver aplicativos móveis ASP.NET, consulte Mobile Apps & Sites com 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)

Parâmetros

writer
WmlMobileTextWriter

O gravador de texto especificado.

targetUrl
String

O destino da URL.

softkeyLabel
String

O texto softkey a ser usado para o link.

implicitSoftkeyLabel
Boolean

Defina como true se o mapeamento for uma tecla reversível no dispositivo.

mapToSoftkey
Boolean

Defina como true se o rótulo softkey vem do próprio adaptador do dispositivo (o rótulo padrão ou algo mais especificado pelo adaptador, como "Chamada" para um controle PhoneCall), em vez de um rótulo softkey especificado explicitamente pelo autor do aplicativo.

text
String

O texto que define o link.

breakAfter
Boolean

Defina como true se a BreakAfter propriedade for necessária para ser definida.

Comentários

Se o mapToSoftKey parâmetro for definido como true, o texto do softkeyLabel parâmetro será exibido.

Aplica-se a

Confira também