IHtmlContentBuilder.AppendHtml 方法

定义

重载

AppendHtml(IHtmlContent)

追加 IHtmlContent 实例。

AppendHtml(String)

追加 HTML 编码 String 值。 该值被视为按提供的 HTML 编码,不会执行进一步的编码。

AppendHtml(IHtmlContent)

Source:
IHtmlContentBuilder.cs

追加 IHtmlContent 实例。

public:
 Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendHtml(Microsoft::AspNetCore::Html::IHtmlContent ^ content);
public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml (Microsoft.AspNetCore.Html.IHtmlContent content);
abstract member AppendHtml : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
Public Function AppendHtml (content As IHtmlContent) As IHtmlContentBuilder

参数

content
IHtmlContent

要追加的 IHtmlContent

返回

IHtmlContentBuilder

适用于

AppendHtml(String)

Source:
IHtmlContentBuilder.cs

追加 HTML 编码 String 值。 该值被视为按提供的 HTML 编码,不会执行进一步的编码。

public:
 Microsoft::AspNetCore::Html::IHtmlContentBuilder ^ AppendHtml(System::String ^ encoded);
public Microsoft.AspNetCore.Html.IHtmlContentBuilder AppendHtml (string encoded);
abstract member AppendHtml : string -> Microsoft.AspNetCore.Html.IHtmlContentBuilder
Public Function AppendHtml (encoded As String) As IHtmlContentBuilder

参数

encoded
String

编码为追加的 HTML String

返回

IHtmlContentBuilder

适用于