Share via


DefaultTagHelperContent.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:
DefaultTagHelperContent.cs
Source:
DefaultTagHelperContent.cs

Appends htmlContent to the existing content.

public:
 override Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendHtml(Microsoft::AspNetCore::Html::IHtmlContent ^ htmlContent);
public override Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendHtml (Microsoft.AspNetCore.Html.IHtmlContent htmlContent);
override this.AppendHtml : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public Overrides 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:
DefaultTagHelperContent.cs
Source:
DefaultTagHelperContent.cs

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

public:
 override Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendHtml(System::String ^ encoded);
public override Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendHtml (string encoded);
override this.AppendHtml : string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public Overrides 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