Udostępnij za pośrednictwem


TagHelperContent.AppendHtml Metoda

Definicja

Przeciążenia

AppendHtml(IHtmlContent)

htmlContent Dołącza do istniejącej zawartości.

AppendHtml(String)

encoded Dołącza do istniejącej zawartości. encoded zakłada się, że jest zakodowany String w formacie HTML i nie zostanie wykonane żadne dalsze kodowanie.

AppendHtml(IHtmlContent)

Źródło:
TagHelperContent.cs
Źródło:
TagHelperContent.cs
Źródło:
TagHelperContent.cs

htmlContent Dołącza do istniejącej zawartości.

public:
 abstract Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendHtml(Microsoft::AspNetCore::Html::IHtmlContent ^ htmlContent);
public abstract Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendHtml (Microsoft.AspNetCore.Html.IHtmlContent htmlContent);
abstract member AppendHtml : Microsoft.AspNetCore.Html.IHtmlContent -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public MustOverride Function AppendHtml (htmlContent As IHtmlContent) As TagHelperContent

Parametry

htmlContent
IHtmlContent

Element IHtmlContent do dołączenia.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji dołączania.

Dotyczy

AppendHtml(String)

Źródło:
TagHelperContent.cs
Źródło:
TagHelperContent.cs
Źródło:
TagHelperContent.cs

encoded Dołącza do istniejącej zawartości. encoded zakłada się, że jest zakodowany String w formacie HTML i nie zostanie wykonane żadne dalsze kodowanie.

public:
 abstract Microsoft::AspNetCore::Razor::TagHelpers::TagHelperContent ^ AppendHtml(System::String ^ encoded);
public abstract Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent AppendHtml (string encoded);
abstract member AppendHtml : string -> Microsoft.AspNetCore.Razor.TagHelpers.TagHelperContent
Public MustOverride Function AppendHtml (encoded As String) As TagHelperContent

Parametry

encoded
String

Element String do dołączenia.

Zwraca

Odwołanie do tego wystąpienia po zakończeniu operacji dołączania.

Dotyczy