HtmlTextWriter::PopEndTag Method ()
.NET Framework (current version)
Removes the most recently saved markup element from the list of rendered elements.
Assembly: System.Web (in System.Web.dll)
| 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
Available since 1.1
Show: