Share via


HtmlFormattableString Classe

Definizione

Implementazione IHtmlContent della formattazione della stringa composita (vedere https://msdn.microsoft.com/en-us/library/txafckwd(v=vs.110).aspx) che codifica HTML argomenti formattati.

public ref class HtmlFormattableString : Microsoft::AspNetCore::Html::IHtmlContent
public class HtmlFormattableString : Microsoft.AspNetCore.Html.IHtmlContent
type HtmlFormattableString = class
    interface IHtmlContent
Public Class HtmlFormattableString
Implements IHtmlContent
Ereditarietà
HtmlFormattableString
Implementazioni

Costruttori

HtmlFormattableString(IFormatProvider, String, Object[])

Crea un nuovo HtmlFormattableString oggetto con l'oggetto specificato formatProviderformat e args.

HtmlFormattableString(String, Object[])

Crea un nuovo HtmlFormattableString oggetto con l'oggetto specificato format e args.

Metodi

WriteTo(TextWriter, HtmlEncoder)

Scrive il contenuto codificandolo con l'oggetto specificato nell'oggetto specificato encoderwriter.

Si applica a