HtmlFormattableString Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An IHtmlContent implementation of composite string formatting (see https://msdn.microsoft.com/en-us/library/txafckwd(v=vs.110).aspx) which HTML encodes formatted arguments.
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
- Inheritance
-
HtmlFormattableString
- Implements
Constructors
HtmlFormattableString(IFormatProvider, String, Object[]) |
Creates a new HtmlFormattableString with the given |
HtmlFormattableString(String, Object[]) |
Creates a new HtmlFormattableString with the given |
Methods
WriteTo(TextWriter, HtmlEncoder) |
Writes the content by encoding it with the specified |