Menu.RenderEndTag(HtmlTextWriter) Method

Definition

Performs final markup and writes the HTML closing tag of the control to the output stream emitted to the browser or device.

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

Parameters

writer
HtmlTextWriter

The HtmlTextWriter containing methods to build and render the device-specific output.

Remarks

This method overrides WebControl.RenderEndTag to render Menu submenus and the SkipLinkText property.

Note

This method is used primarily by control developers to extend the Menu control.

Applies to