HtmlTextWriter.PushEndTag Method

Saves the specified markup element for later use when generating the end tag for a markup element.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

protected:
void PushEndTag (
	String^ endTag
)
protected void PushEndTag (
	String endTag
)
protected function PushEndTag (
	endTag : String
)
Not applicable.

Parameters

endTag

The closing tag of the markup element.

Elements are added to the list of rendered markup elements when the RenderBeginTag method calls the PushEndTag method. The RenderEndTag method removes markup elements from the list after it renders the end tag for the element.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: