UpWmlMobileTextWriter.RenderBeginHyperlink 方法

定义

开始呈现超链接元素。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 override void RenderBeginHyperlink(System::String ^ targetUrl, bool encodeUrl, System::String ^ softkeyLabel, bool implicitSoftkeyLabel, bool mapToSoftkey);
public override void RenderBeginHyperlink(string targetUrl, bool encodeUrl, string softkeyLabel, bool implicitSoftkeyLabel, bool mapToSoftkey);
override this.RenderBeginHyperlink : string * bool * string * bool * bool -> unit
Public Overrides Sub RenderBeginHyperlink (targetUrl As String, encodeUrl As Boolean, softkeyLabel As String, implicitSoftkeyLabel As Boolean, mapToSoftkey As Boolean)

参数

targetUrl
String

URL 目标。

encodeUrl
Boolean

设置为 true 是否对 URL 进行编码。

softkeyLabel
String

如果参数设置为 true,则用于链接的mapToSoftkey软键文本。

implicitSoftkeyLabel
Boolean

如果 true 软键标签来自适配器本身(默认标签或指定了适配器的其他内容(例如控件的 PhoneCall “调用”),而不是由应用程序作者显式指定的软键标签,

mapToSoftkey
Boolean

设置为 true 是否映射到设备上的软键。

例外

编写器已经开始编写超链接,

-或-

响应是回发。

注解

此调用后跟用于呈现文本的调用或对 RenderImage 方法的调用来呈现超链接内容,后跟对方法的 RenderEndHyperlink 调用。

适用于

另请参阅