DataSourceControl.RenderControl(HtmlTextWriter) DataSourceControl.RenderControl(HtmlTextWriter) DataSourceControl.RenderControl(HtmlTextWriter) DataSourceControl.RenderControl(HtmlTextWriter) Method

定义

将服务器控件内容输出到所提供的 HtmlTextWriter 对象,如果启用了跟踪,则还将存储有关该控件的跟踪信息。Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.

public:
 override void RenderControl(System::Web::UI::HtmlTextWriter ^ writer);
public override void RenderControl (System.Web.UI.HtmlTextWriter writer);
override this.RenderControl : System.Web.UI.HtmlTextWriter -> unit
Public Overrides Sub RenderControl (writer As HtmlTextWriter)

参数

writer
HtmlTextWriter HtmlTextWriter HtmlTextWriter HtmlTextWriter

接收控件内容的 HtmlTextWriter 对象。The HtmlTextWriter object that receives the control content.

适用于