Search Results for

    Show / Hide Table of Contents
    View Source

    Class HtmlEncodedString

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

    Inheritance
    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
    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
    string

    An HTML-encoded string.

    View Source

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX