Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HtmlTextWriter::EqualsChar Field

 

Represents the equal sign (=).

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public:
literal wchar_t EqualsChar

Field Value

Type: System::Char

You might want to use the EqualsDoubleQuoteString field instead of the EqualsChar field when constructing the opening delimiter of an attribute value.

The following code example shows how to render the src attribute and part of its value for an <img> element. The code uses the EqualsChar field in a Write method call to render the equal sign (=) between the src attribute and its value.

This code example renders the following markup:

src="/images/

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft