Op Englesch liesen Editéieren

Deelen iwwer


HtmlTextWriter.TagLeftChar Field

Definition

Represents the opening angle bracket (<) of a markup tag.

C#
public const char TagLeftChar;

Field Value

Examples

The following code example renders the first character of the opening tag of a <table> element with the element name. The code example uses the Write method with the TagLeftChar field as a parameter.

This code example renders the following markup:

<table

C#
// Create the opening tag of a table element
// with styles by using the HtmlTextWriter class.
writer.Write(HtmlTextWriter.TagLeftChar);
writer.Write("table");

Remarks

The TagLeftChar field is used by the RenderBeginTag, WriteBeginTag, WriteFullBeginTag, and WriteEndTag methods when writing markup tags.

Applies to

Produkt Versiounen
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also