Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HtmlTextWriter::PopEndTag Method ()

 

Removes the most recently saved markup element from the list of rendered elements.

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

protected:
String^ PopEndTag()

Return Value

Type: System::String^

A String containing the most recently rendered markup element.

Exception Condition
InvalidOperationException

The list of rendered elements is empty.

Elements are added to the list of rendered markup elements by the RenderBeginTag method. The RenderEndTag method removes markup elements from the list by calling the PopEndTag method.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft