ControlAdapter.EndRender(HtmlTextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after the rendering of a control. In a derived adapter class, generates closing tags that are required by a specific target but not needed by HTML browsers.
protected public:
virtual void EndRender(System::Web::UI::HtmlTextWriter ^ writer);
protected internal virtual void EndRender (System.Web.UI.HtmlTextWriter writer);
abstract member EndRender : System.Web.UI.HtmlTextWriter -> unit
override this.EndRender : System.Web.UI.HtmlTextWriter -> unit
Protected Friend Overridable Sub EndRender (writer As HtmlTextWriter)
Parameters
- writer
- HtmlTextWriter
The HtmlTextWriter containing methods to render the target-specific output.
Remarks
The EndRender method is called just after the Render method, and is used to perform target-specific postprocessing after the rendering of the control.
Use the EndRender method in combination with the BeginRender method to ensure opening and closing tag consistency.
Notes to Inheritors
When you inherit from the ControlAdapter class, the EndRender(HtmlTextWriter) base method calls the EndRender() method. Thus, overrides of the EndRender(HtmlTextWriter) method should call the EndRender(HtmlTextWriter) base method only if its processing is in addition to, rather than instead of, the EndRender() method.
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應