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:
" />
Available since 1.1