StringHtmlContent 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.
String content which gets encoded when written.
public ref class StringHtmlContent : Microsoft::AspNetCore::Html::IHtmlContent
	public class StringHtmlContent : Microsoft.AspNetCore.Html.IHtmlContent
	type StringHtmlContent = class
    interface IHtmlContent
	Public Class StringHtmlContent
Implements IHtmlContent
		- Inheritance
 - 
				StringHtmlContent
 
- Implements
 
Constructors
| StringHtmlContent(String) | 
		 Creates a new instance of StringHtmlContent  | 
        	
Methods
| WriteTo(TextWriter, HtmlEncoder) | 
		 Writes the content by encoding it with the specified   |