Share via


HtmlString(String) Constructor

Definition

Creates a new HtmlString.

public:
 HtmlString(System::String ^ value);
public HtmlString (string value);
public HtmlString (string? value);
new Microsoft.AspNetCore.Html.HtmlString : string -> Microsoft.AspNetCore.Html.HtmlString
Public Sub New (value As String)

Parameters

value
String

The HTML encoded value.

Applies to