HtmlTextWriter.TagLeftChar Champ

Définition

Représente le crochet ouvrant (<) d’une balise de balisage.

public: char TagLeftChar;
public const char TagLeftChar;
val mutable TagLeftChar : char
Public Const TagLeftChar As Char 

Valeur de champ

Exemples

L’exemple de code suivant affiche le premier caractère de la balise d’ouverture d’un <table> élément avec le nom de l’élément. L’exemple de code utilise la Write méthode avec le TagLeftChar champ comme paramètre.

Cet exemple de code affiche le balisage suivant :

<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")

Remarques

Le TagLeftChar champ est utilisé par les balises de balisage , RenderBeginTag, WriteBeginTaget WriteFullBeginTag les méthodes lors de l’écriture WriteEndTagde balises de balisage.

S’applique à

Voir aussi