HtmlString Classe
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
Html |
Crée un HtmlString. |
Empty |
Instance HtmlString pour Empty. |
New |
Instance HtmlString pour NewLine. |
Value |
Obtient la valeur encodée html. |
To |
Implémentation IHtmlContent qui encapsule un encodé StringHTML. |
Write |
Écrit le contenu en l’encodant avec le spécifié |
Produit | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |