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)

[ObsoleteAttribute(L"The recommended alternative is the static MvcHtmlString.Create(String value) method.")]
protected:
MvcHtmlString(
	String^ value
)

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: