HtmlTextWriter::SelfClosingTagEnd Field
Represents the closing slash mark and right angle bracket (/>) of a self-closing markup element.
Assembly: System.Web (in System.Web.dll)
The SelfClosingTagEnd field is used by the RenderBeginTag method when constructing self-closing markup elements.
The following code example shows how to render the value of a custom FileName property followed by a quotation mark and the characters represented by the SelfClosingTagEnd field. The code example calls the Write method and passes the SelfClosingTagEnd field as the parameter argument to close the element.
This code example renders the FileName property value, and then the following markup:
" />
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.