MobilePage.Render(HtmlTextWriter) MobilePage.Render(HtmlTextWriter) MobilePage.Render(HtmlTextWriter) MobilePage.Render(HtmlTextWriter) Method

定义

将服务器控件内容发送到给定的 HtmlTextWriter 对象,该对象可编写将在客户端呈现的内容。 Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client. 如果启用跟踪,还将存储有关该控件的跟踪信息。 Also stores tracing information about the control if tracing is enabled. 此 API 已过时。 This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站 For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected override void Render (System.Web.UI.HtmlTextWriter writer);
abstract member Render : System.Web.UI.HtmlTextWriter -> unit
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Overrides Sub Render (writer As HtmlTextWriter)

参数

writer
HtmlTextWriter HtmlTextWriter HtmlTextWriter HtmlTextWriter

用于创建标记的文本编写器。 The text writer that creates the markup.

注解

此成员重写Control.Render方法来调用Render控件适配器的方法。This member overrides the Control.Render method to call the Render method of the control adapter.

适用于

另请参阅