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

HtmlString.ToString Method

.NET Framework 4.6 and 4.5

Returns a string that represents the current object.

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

public override string ToString()

Return Value

Type: System.String
A string that represents the current object.

This method returns a human-readable string that is culture sensitive. The string is also HTML encoded.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft