Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HtmlString Constructor
Collapse the table of content
Expand the table of content

HtmlString Constructor

.NET Framework 4.6 and 4.5

Initializes a new instance of the HtmlString class.

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

public HtmlString(
	string value


Type: System.String

An HTML-encoded string that should not be encoded again.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft