Freigeben über


HtmlContentBuilder.AppendHtml Methode

Definition

Überlädt

AppendHtml(IHtmlContent)

Fügt eine instance an IHtmlContent .

AppendHtml(String)

Fügt einen HTML-codierten Wert an String . Der Wert wird als HTML-codiert behandelt, und es wird keine weitere Codierung durchgeführt.

AppendHtml(IHtmlContent)

Quelle:
HtmlContentBuilder.cs
Quelle:
HtmlContentBuilder.cs
Quelle:
HtmlContentBuilder.cs

Fügt eine instance an 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

Parameter

htmlContent
IHtmlContent

Gibt zurück

Die IHtmlContentBuilder.

Implementiert

Gilt für:

AppendHtml(String)

Quelle:
HtmlContentBuilder.cs
Quelle:
HtmlContentBuilder.cs
Quelle:
HtmlContentBuilder.cs

Fügt einen HTML-codierten Wert an String . Der Wert wird als HTML-codiert behandelt, und es wird keine weitere Codierung durchgeführt.

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

Parameter

encoded
String

Der HTML-Code, der zum Anfügen codiert ist String .

Gibt zurück

Die IHtmlContentBuilder.

Implementiert

Gilt für: