Bearbeiten

Freigeben über


HtmlTextWriter.PopEndTag Method

Definition

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

protected:
 System::String ^ PopEndTag();
protected string PopEndTag ();
member this.PopEndTag : unit -> string
Protected Function PopEndTag () As String

Returns

A String containing the most recently rendered markup element.

Exceptions

The list of rendered elements is empty.

Remarks

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.

Applies to

See also