Langue

StringHtmlContent Classe

Définition

Contenu de chaîne qui est encodé lors de l’écriture.

public ref class StringHtmlContent : Microsoft::AspNetCore::Html::IHtmlContent
public class StringHtmlContent : Microsoft.AspNetCore.Html.IHtmlContent
type StringHtmlContent = class
    interface IHtmlContent
Public Class StringHtmlContent
Implements IHtmlContent
Héritage
StringHtmlContent
Implémente

Constructeurs

Nom Description
StringHtmlContent(String)

Crée une instance de StringHtmlContent

Méthodes

Nom Description
WriteTo(TextWriter, HtmlEncoder)

Écrit le contenu en l’encodant avec le spécifié encoder dans le spécifié writer.

S’applique à