Share via


TagHelperContent.AppendHtml Method

Definition

Overloads

AppendHtml(IHtmlContent)

Appends htmlContent to the existing content.

AppendHtml(String)

Appends encoded to the existing content. encoded is assumed to be an HTML encoded String and no further encoding will be performed.

AppendHtml(IHtmlContent)

Source:
TagHelperContent.cs
Source:
TagHelperContent.cs
Source:
TagHelperContent.cs

Appends htmlContent to the existing content.

public:
 abstract Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendHtml(Microsoft::AspNetCore::Html::IHtmlContent ^ htmlContent);
public abstract Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendHtml (Microsoft.AspNetCore.Html.IHtmlContent htmlContent);
abstract member AppendHtml : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public MustOverride Function AppendHtml (htmlContent As IHtmlContent) As TagHelperContent

Parameters

htmlContent
IHtmlContent

The IHtmlContent to be appended.

Returns

A reference to this instance after the append operation has completed.

Applies to

AppendHtml(String)

Source:
TagHelperContent.cs
Source:
TagHelperContent.cs
Source:
TagHelperContent.cs

Appends encoded to the existing content. encoded is assumed to be an HTML encoded String and no further encoding will be performed.

public:
 abstract Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendHtml(System::String ^ encoded);
public abstract Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendHtml (string encoded);
abstract member AppendHtml : string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public MustOverride Function AppendHtml (encoded As String) As TagHelperContent

Parameters

encoded
String

The String to be appended.

Returns

A reference to this instance after the append operation has completed.

Applies to