MvcHtmlString Constructor

Visual Studio 2010

Note: This API is now obsolete.

Initializes a new instance of the MvcHtmlString class.

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

'Declaration
<ObsoleteAttribute("The recommended alternative is the static MvcHtmlString.Create(String value) method.")> _
Protected Sub New ( _
	value As String _
)

Parameters

value
Type: System.String
The string to create. If no value is assigned, the object is created using an empty-string value.

Community Additions

ADD
Show: