LocalizedHtmlString 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 with localized content.
public ref class LocalizedHtmlString : Microsoft::AspNetCore::Html::IHtmlContent
public class LocalizedHtmlString : Microsoft.AspNetCore.Html.IHtmlContent
type LocalizedHtmlString = class
interface IHtmlContent
Public Class LocalizedHtmlString
Implements IHtmlContent
- Inheritance
-
LocalizedHtmlString
- Implements
Constructors
LocalizedHtmlString(String, String, Boolean, Object[]) |
Creates an instance of LocalizedHtmlString. |
LocalizedHtmlString(String, String, Boolean) |
Creates an instance of LocalizedHtmlString. |
LocalizedHtmlString(String, String) |
Creates an instance of LocalizedHtmlString. |
Properties
IsResourceNotFound |
Gets a flag that indicates if the resource is not found. |
Name |
The name of the string resource. |
Value |
The original resource string, prior to formatting with any constructor arguments. |
Methods
WriteTo(TextWriter, HtmlEncoder) |
Writes the content by encoding it with the specified |