TagHelperContent.AppendHtml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AppendHtml(IHtmlContent) |
Appends |
AppendHtml(String) |
Appends |
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
Returns
A reference to this instance after the append operation has completed.