HtmlTextWriter.DoubleQuoteChar Field
.NET Framework 2.0
Represents the quotation mark (") character.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The DoubleQuoteChar field is used by the WriteAttribute method to close an attribute.
The following code example shows how to render a border attribute for a <table> element. The code calls the Write method to render the attribute and its value and uses the Write method to render the EqualsDoubleQuoteString and DoubleQuoteChar fields.
This code example renders the following markup:
border="1"
Community Additions
ADD
Show: