共用方式為


HtmlControlAdapter.RenderPostBackEventAsAttribute 方法

定義

將回傳事件呈現為屬性 (Attribute)。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET

protected:
 void RenderPostBackEventAsAttribute(System::Web::UI::MobileControls::Adapters::HtmlMobileTextWriter ^ writer, System::String ^ attributeName, System::String ^ argument);
protected void RenderPostBackEventAsAttribute (System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter writer, string attributeName, string argument);
member this.RenderPostBackEventAsAttribute : System.Web.UI.MobileControls.Adapters.HtmlMobileTextWriter * string * string -> unit
Protected Sub RenderPostBackEventAsAttribute (writer As HtmlMobileTextWriter, attributeName As String, argument As String)

參數

writer
HtmlMobileTextWriter

文字寫入器。

attributeName
String

屬性名稱。

argument
String

呈現的參數。

適用於

另請參閱