HtmlContentBuilder.AppendHtml 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AppendHtml(IHtmlContent) |
追加 IHtmlContent 实例。 |
AppendHtml(String) |
追加 HTML 编码 String 值。 该值被视为按提供的 HTML 编码,不会执行进一步的编码。 |
AppendHtml(IHtmlContent)
- Source:
- HtmlContentBuilder.cs
- Source:
- HtmlContentBuilder.cs
- Source:
- HtmlContentBuilder.cs
追加 IHtmlContent 实例。
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
参数
- htmlContent
- IHtmlContent
返回
实现
适用于
AppendHtml(String)
- Source:
- HtmlContentBuilder.cs
- Source:
- HtmlContentBuilder.cs
- Source:
- HtmlContentBuilder.cs
追加 HTML 编码 String 值。 该值被视为按提供的 HTML 编码,不会执行进一步的编码。
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