WmlControlAdapter.RenderPostBackEvent 方法

定義

呈現以控制項當做目標的回傳事件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

多載

RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)

呈現以控制項當做目標的回傳事件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean, WmlPostFieldType)

呈現以控制項當做目標的回傳事件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)

呈現以控制項當做目標的回傳事件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

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

參數

writer
WmlMobileTextWriter

指定的文字寫入器。

argument
String

動作的引數。 引數包含在使用者選取動作時所產生的回傳中。

softkeyLabel
String

螢幕鍵盤文字。

mapToSoftkey
Boolean

如果對應至裝置上的螢幕鍵盤,請設定為 true

text
String

定義連結的文字。

breakAfter
Boolean

如果要在文字欄位之後加入分行符號項目,請設定為 true

備註

mapToSoftKey如果參數設定為 true,則會顯示參數的softkeyLabel文字。

另請參閱

適用於

RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean, WmlPostFieldType)

呈現以控制項當做目標的回傳事件。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

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

參數

writer
WmlMobileTextWriter

指定的文字寫入器。

argument
String

動作的引數。 引數包含在使用者選取動作時所產生的回傳中。

softkeyLabel
String

螢幕鍵盤文字。

mapToSoftkey
Boolean

如果對應至裝置上的螢幕鍵盤,請設定為 true

text
String

定義連結的文字。

breakAfter
Boolean

如果要在文字欄位之後加入分行符號項目,請設定為 true

postBackType
WmlPostFieldType

指定撰寫 postfield 的方式。

備註

此多載會將回傳型態的預設值設定為 NormalmapToSoftKey如果參數設定為 true,則會顯示參數的softkeyLabel文字。 下表顯示用於 自變數的 postBackType 回傳類型。

類型 描述
Normal 回傳包含名稱和編碼自變數。
Submit 回傳包含用來提交表單的控件,通常是_EVENTTARGET和命令。
Variable 回傳包含名稱和變數參考。
Raw 回傳包含名稱和自變數。

另請參閱

適用於