ListControl.RenderContents(HtmlTextWriter) 方法
定义
呈现 ListControl 控件中的项。Renders the items in the ListControl control.
protected public:
override void RenderContents(System::Web::UI::HtmlTextWriter ^ writer);
protected internal override void RenderContents (System.Web.UI.HtmlTextWriter writer);
override this.RenderContents : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overrides Sub RenderContents (writer As HtmlTextWriter)
参数
- writer
- HtmlTextWriter
表示用于向网页写入内容的输出流的 HtmlTextWriter。The HtmlTextWriter that represents the output stream used to write content to a Web page.
注解
使用 RenderContents 方法可将控件中的项呈现 ListControl 给客户端。Use the RenderContents method to render the items in the ListControl control to the client.