HtmlString Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Implémentation IHtmlContent qui encapsule un encodé StringHTML.
public ref class HtmlString : Microsoft::AspNetCore::Html::IHtmlContent
public class HtmlString : Microsoft.AspNetCore.Html.IHtmlContent
type HtmlString = class
interface IHtmlContent
Public Class HtmlString
Implements IHtmlContent
- Héritage
-
HtmlString
- Implémente
Constructeurs
HtmlString(String) |
Crée un HtmlString. |
Champs
Empty |
Instance HtmlString pour Empty. |
NewLine |
Instance HtmlString pour NewLine. |
Propriétés
Value |
Obtient la valeur encodée html. |
Méthodes
ToString() |
Implémentation IHtmlContent qui encapsule un encodé StringHTML. |
WriteTo(TextWriter, HtmlEncoder) |
Écrit le contenu en l’encodant avec le spécifié |
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour