ControlAdapter.EndRender(HtmlTextWriter) Method
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)
- writer
- HtmlTextWriter
The HtmlTextWriter containing methods to render the target-specific output.
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.
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.
제품 | 버전 |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.