This documentation is archived and is not being maintained.
HtmlTextWriter.EndTagLeftChars Field
.NET Framework 1.1
Represents the left angle bracket and slash (</) of the closing tag of an HTML element.
[Visual Basic] Public Const EndTagLeftChars As String [C#] public const string EndTagLeftChars; [C++] public: const String* EndTagLeftChars; [JScript] public var EndTagLeftChars : String;
Example
[Visual Basic] ' Write the closing tag of an HTML table element. ' Write the first two characters of ' the element's closing tag. writer.Write(HtmlTextWriter.EndTagLeftChars) writer.Write("table") writer.Write(HtmlTextWriter.TagRightChar) writer.WriteLine() [C#] // Write the closing tag of an HTML table element. // Write the first two characters of // the element's closing tag. writer.Write(HtmlTextWriter.EndTagLeftChars); writer.Write("table"); writer.Write(HtmlTextWriter.TagRightChar); writer.WriteLine();
[C++, JScript] No example is available for C++ or JScript. To view a Visual Basic or C# example, click the Language Filter button
in the upper-left corner of the page.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HtmlTextWriter Class | HtmlTextWriter Members | System.Web.UI Namespace
Show: