StringHtmlContent Class
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.
String content which gets encoded when written.
public ref class StringHtmlContent : Microsoft::AspNetCore::Html::IHtmlContent
C#
public class StringHtmlContent : Microsoft.AspNetCore.Html.IHtmlContent
type StringHtmlContent = class
interface IHtmlContent
Public Class StringHtmlContent
Implements IHtmlContent
- Inheritance
-
StringHtmlContent
- Implements
String |
Creates a new instance of StringHtmlContent |
Write |
Writes the content by encoding it with the specified |
Product | 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 |