HtmlTextWriter.EndTagLeftChars Pole

Definice

Představuje levou závorku a značku lomítka (</) u uzavírací značky prvku značky.

public: System::String ^ EndTagLeftChars;
public const string EndTagLeftChars;
val mutable EndTagLeftChars : string
Public Const EndTagLeftChars As String 

Hodnota pole

Příklady

Následující příklad kódu ukazuje, jak vykreslit pravou značku <table> prvku značky pomocí EndTagLeftChars a TagRightChar pole jako hodnoty parametrů ve volání metody Write .

Tento příklad kódu vykreslí následující kód:

</table>

// Write the closing tag of a table element.
writer.Write(HtmlTextWriter.EndTagLeftChars);
writer.Write("table");
writer.Write(HtmlTextWriter.TagRightChar);
writer.WriteLine();
' Write the closing tag of a table element.
writer.Write(HtmlTextWriter.EndTagLeftChars)
writer.Write("table")
writer.Write(HtmlTextWriter.TagRightChar)
writer.WriteLine()

Poznámky

Pole EndTagLeftChars je používáno metodou RenderBeginTag k vytvoření značky elementu koncové značky.

Platí pro

Viz také