HtmlString Class

Definition

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

public ref class HtmlString : System::Web::IHtmlString
public class HtmlString : System.Web.IHtmlString
type HtmlString = class
    interface IHtmlString
Public Class HtmlString
Implements IHtmlString
Inheritance
HtmlString
Implements

Constructors

HtmlString(String)

Initializes a new instance of the HtmlString class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToHtmlString()

Returns an HTML-encoded string.

ToString()

Returns a string that represents the current object.

Applies to