HtmlTextWriter.EndTagLeftChars Pole

Definicja

Reprezentuje lewy nawias kątowy i znak ukośnika (</) tagu zamykającego elementu znaczników.

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

Wartość pola

Przykłady

Poniższy przykład kodu pokazuje, jak renderować tag zamykający elementu <table> znaczników przy użyciu EndTagLeftChars pól i TagRightChar jako wartości parametrów w wywołaniach metody Write .

Ten przykład kodu renderuje następujące znaczniki:

</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()

Uwagi

Pole EndTagLeftChars jest używane przez metodę RenderBeginTag do konstruowania tagów końcowych elementu znaczników.

Dotyczy

Zobacz też