HtmlTextWriter.TagLeftChar Campo
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Representa el corchete angular de apertura (<) de una etiqueta de marcado.
public: char TagLeftChar;
public const char TagLeftChar;
val mutable TagLeftChar : char
Public Const TagLeftChar As Char
Valor de campo
Ejemplos
En el ejemplo de código siguiente se representa el primer carácter de la etiqueta de apertura de un <table> elemento con el nombre del elemento. En el ejemplo de código se usa el Write método con el TagLeftChar campo como parámetro.
Este ejemplo de código representa el marcado siguiente:
<table
// Create the opening tag of a table element
// with styles by using the HtmlTextWriter class.
writer.Write(HtmlTextWriter.TagLeftChar);
writer.Write("table");
' Create the opening tag of a table element
' with styles by using the HtmlTextWriter class.
writer.Write(HtmlTextWriter.TagLeftChar)
writer.Write("table")
Comentarios
Los TagLeftChar métodos , WriteBeginTag, WriteFullBeginTagy WriteEndTag usan el RenderBeginTagcampo al escribir etiquetas de marcado.