MvcHtmlString Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an HTML-encoded string that should not be encoded again.
public sealed class MvcHtmlString : System.Web.HtmlString
type MvcHtmlString = class
inherit HtmlString
Public NotInheritable Class MvcHtmlString
Inherits HtmlString
- Inheritance
-
MvcHtmlString
Constructors
MvcHtmlString(String) |
Initializes a new instance of the MvcHtmlString class. |
Fields
Empty |
Contains an empty HTML string. |
Methods
Create(String) |
Creates an HTML-encoded string using the specified text value. |
IsNullOrEmpty(MvcHtmlString) |
Determines whether the specified string contains content or is either null or empty. |