HtmlContentBuilder.AppendHtml 方法

定义

重载

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

返回

IHtmlContentBuilder

实现

适用于

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

参数

encoded
String

编码 String 为追加的 HTML。

返回

IHtmlContentBuilder

实现

适用于