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.
Declaration
public HtmlEncodedString(string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
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. |
An HTML-encoded string. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
A string that represents the current object. |