Class HtmlEncodedString
Represents an HTML-encoded string that should not be encoded again.
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Strings
Assembly: Umbraco.Core.dll
Syntax
public class HtmlEncodedString : IHtmlEncodedString
Constructors
View SourceHtmlEncodedString(String)
Initializes a new instance of the System.Web.HtmlString class.
Declaration
public HtmlEncodedString(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | An HTML-encoded string that should not be encoded again. |
Methods
View SourceToHtmlString()
Returns an HTML-encoded string.
Declaration
public string ToHtmlString()
Returns
Type | Description |
---|---|
System.String | An HTML-encoded string. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |