Share via


HtmlContentBuilder.AppendHtml Method

Definition

Overloads

AppendHtml(IHtmlContent)

Appends an IHtmlContent instance.

AppendHtml(String)

Appends an HTML encoded String value. The value is treated as HTML encoded as-provided, and no further encoding will be performed.

AppendHtml(IHtmlContent)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

Appends an IHtmlContent instance.

public:
 virtual Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendHtml(Microsoft::AspNetCore::Html::IHtmlContent ^ htmlContent);
public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml (Microsoft.AspNetCore.Html.IHtmlContent htmlContent);
public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml (Microsoft.AspNetCore.Html.IHtmlContent? htmlContent);
abstract member AppendHtml : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
override this.AppendHtml : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
Public Function AppendHtml (htmlContent As IHtmlContent) As IHtmlContentBuilder

Parameters

htmlContent
IHtmlContent

Returns

The IHtmlContentBuilder.

Implements

Applies to

AppendHtml(String)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

Appends an HTML encoded String value. The value is treated as HTML encoded as-provided, and no further encoding will be performed.

public:
 virtual Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendHtml(System::String ^ encoded);
public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml (string encoded);
public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml (string? encoded);
abstract member AppendHtml : string -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
override this.AppendHtml : string -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
Public Function AppendHtml (encoded As String) As IHtmlContentBuilder

Parameters

encoded
String

The HTML encoded String to append.

Returns

The IHtmlContentBuilder.

Implements

Applies to