WmlControlAdapter.RenderLink メソッド

定義

指定したテキストを含むリンク全体をレンダリングします。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。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)

パラメーター

writer
WmlMobileTextWriter

指定したテキスト ライター。

targetUrl
String

URL ターゲット。

softkeyLabel
String

リンクに使用するソフトキー テキスト。

implicitSoftkeyLabel
Boolean

デバイス上のソフトキーにマッピングする場合は、 true に設定します。

mapToSoftkey
Boolean

ソフトキー ラベルが、アプリケーションの作成者によって明示的に指定されたソフトキー ラベルではなく、デバイス アダプター自体 (既定のラベル、または PhoneCall コントロールに対して "呼び出し" など、指定されたアダプターである他のラベル) から取得される場合に true に設定します。

text
String

リンクを定義するテキスト。

breakAfter
Boolean

BreakAfter プロパティを設定する必要がある場合は、trueに設定します。

注釈

mapToSoftKey パラメーターが true に設定されている場合は、softkeyLabel パラメーターのテキストが表示されます。

適用対象

こちらもご覧ください