MvcHtmlString Class
TOC
Collapse the table of content
Expand the table of content

MvcHtmlString Class

 

Represents an HTML-encoded string that should not be encoded again.

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

System.Object
  System.Web.HtmlString
    System.Web.Mvc.MvcHtmlString

public sealed class MvcHtmlString : HtmlString

NameDescription
System_CAPS_pubmethodMvcHtmlString(String)

Initializes a new instance of the MvcHtmlString class.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(String)

Creates an HTML-encoded string using the specified text value.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsNullOrEmpty(MvcHtmlString)

Determines whether the specified string contains content or is either null or empty.

System_CAPS_pubmethodToHtmlString()

(Inherited from HtmlString.)

System_CAPS_pubmethodToString()

(Inherited from HtmlString.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmpty

Contains an empty HTML string.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft