HtmlTextWriter.PopEndTag HtmlTextWriter.PopEndTag HtmlTextWriter.PopEndTag HtmlTextWriter.PopEndTag Method

定義

從已呈現項目的清單中移除最近儲存的標記項目。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

傳回

String,包含最近呈現的標記項目。A String containing the most recently rendered markup element.

例外狀況

已呈現項目的清單是空的。The list of rendered elements is empty.

備註

RenderBeginTag方法會將元素加入至轉譯的標記專案清單。Elements are added to the list of rendered markup elements by the RenderBeginTag method. 方法會藉由PopEndTag呼叫方法,從清單中移除標記元素。 RenderEndTagThe RenderEndTag method removes markup elements from the list by calling the PopEndTag method.

適用於

另請參閱