Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    HtmlEncodedString(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 Source

    ToHtmlString()

    Returns an HTML-encoded string.

    Declaration
    public string ToHtmlString()
    Returns
    Type Description
    System.String

    An HTML-encoded string.

    View Source

    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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX