DefaultTagHelperContent.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:
- DefaultTagHelperContent.cs
- 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
- 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
Returns
A reference to this instance after the append operation has completed.