Dela via


LocalizedHtmlString Class

Definition

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 encoder to the specified writer.

Applies to