HtmlContentBuilder.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 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
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
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
Returns
The IHtmlContentBuilder.
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for