UpdateProgress.Render(HtmlTextWriter) 方法
定义
通过使用提供的 UpdateProgress 对象,将 HtmlTextWriter 控件的呈现内容写入浏览器。Writes the rendered content of the UpdateProgress control to the browser by using the supplied HtmlTextWriter object.
protected public:
override void Render(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void Render (System.Web.UI.HtmlTextWriter writer);
override this.Render : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub Render (writer As HtmlTextWriter)
参数
- writer
- HtmlTextWriter
一个对象,表示用于呈现 HTML 内容的输出流。An object that represents the output stream for rendering HTML content.
注解
Render控件开发人员使用方法来扩展控件的功能 UpdateProgress 。The Render method is used by control developers to extend the functionality of the UpdateProgress control.
Render方法 UpdateProgress 使用提供的对象将控件的呈现内容写入浏览器 HtmlTextWriter 。The Render method writes the rendered content of the UpdateProgress control to the browser by using the supplied HtmlTextWriter object. 在 Render 派生类中重写方法时,调用基类的 Render 方法,以便呈现控件的子控件 UpdateProgress 。When you override the Render method in a derived class, call the base class's Render method so that the child controls of the UpdateProgress control are rendered.