Compartir a través de


HtmlContentBuilder.AppendHtml Método

Definición

Sobrecargas

AppendHtml(IHtmlContent)

Anexa una IHtmlContent instancia de .

AppendHtml(String)

Anexa un valor codificado en String HTML. El valor se trata como HTML codificado como proporcionado y no se realizará ninguna codificación adicional.

AppendHtml(IHtmlContent)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

Anexa una IHtmlContent instancia de .

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

Parámetros

htmlContent
IHtmlContent

Devoluciones

IHtmlContentBuilder.

Implementaciones

Se aplica a

AppendHtml(String)

Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs
Source:
HtmlContentBuilder.cs

Anexa un valor codificado en String HTML. El valor se trata como HTML codificado como proporcionado y no se realizará ninguna codificación adicional.

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

Parámetros

encoded
String

Código HTML que se va String a anexar.

Devoluciones

IHtmlContentBuilder.

Implementaciones

Se aplica a