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

HtmlString.ToHtmlString Method

.NET Framework 4.6 and 4.5

Returns an HTML-encoded string.

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

public string ToHtmlString()

Return Value

Type: System.String
An HTML-encoded string.



.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft