MvcHtmlString.ToHtmlString Method

Visual Studio 2010

Returns an HTML-encoded string that represents the current object.

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

'Declaration
Public Function ToHtmlString As String

Return Value

Type: System.String
An HTML-encoded string that represents the current object.

The ToHtmlString and ToString methods return the same value.

Community Additions

ADD
Show: