共用方式為


RenderBeginLink 方法 (WmlControlAdapter)

呈現連結的開始標記。

protected void RenderBeginLink(
   WmlMobileTextWriter writer,
   string targetUrl   string softkeyLabel
   bool implicitSoftkeyLabel
   bool mapToSoftKey
)

參數

  • writer
    文字寫入器。
  • target
    指定目標 (表單或 URL)。
  • softkeyLabel
    螢幕鍵盤使用的文字。
  • implicitSoftkeyLabel
    如果螢幕鍵盤標籤來自配置器本身 (預設標籤,或其他配置器的指定項目,如 PhoneCall 控制項的「Call」),而不是應用程式作者明確指示的螢幕鍵盤標籤,則設定為 true
  • mapToSoftkey
    決定連結是否使用螢幕鍵盤標籤。如果為 true,則使用 softkeyLabel 文字。

備註

此方法自動檢查連結型別,並且呈現適當的標記語言。指定目標可參考其他 URL 或參考同一頁面上的表單。

請參閱

套用至:WmlControlAdapter 類別