共用方式為


HtmlContentBuilder.AppendHtml 方法

定義

多載

AppendHtml(IHtmlContent)

IHtmlContent附加 實例。

AppendHtml(String)

附加 HTML 編碼 String 值。 此值會被視為 HTML 編碼為提供,而且不會執行進一步的編碼。

AppendHtml(IHtmlContent)

來源:
HtmlContentBuilder.cs
來源:
HtmlContentBuilder.cs
來源:
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)

來源:
HtmlContentBuilder.cs
來源:
HtmlContentBuilder.cs
來源:
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

實作

適用於