Share via


LocalizedHtmlString Constructors

Definition

Overloads

LocalizedHtmlString(String, String)

Creates an instance of LocalizedHtmlString.

LocalizedHtmlString(String, String, Boolean)

Creates an instance of LocalizedHtmlString.

LocalizedHtmlString(String, String, Boolean, Object[])

Creates an instance of LocalizedHtmlString.

LocalizedHtmlString(String, String)

Source:
LocalizedHtmlString.cs
Source:
LocalizedHtmlString.cs
Source:
LocalizedHtmlString.cs

Creates an instance of LocalizedHtmlString.

public:
 LocalizedHtmlString(System::String ^ name, System::String ^ value);
public LocalizedHtmlString (string name, string value);
new Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString : string * string -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
Public Sub New (name As String, value As String)

Parameters

name
String

The name of the string resource.

value
String

The string resource.

Applies to

LocalizedHtmlString(String, String, Boolean)

Source:
LocalizedHtmlString.cs
Source:
LocalizedHtmlString.cs
Source:
LocalizedHtmlString.cs

Creates an instance of LocalizedHtmlString.

public:
 LocalizedHtmlString(System::String ^ name, System::String ^ value, bool isResourceNotFound);
public LocalizedHtmlString (string name, string value, bool isResourceNotFound);
new Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString : string * string * bool -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
Public Sub New (name As String, value As String, isResourceNotFound As Boolean)

Parameters

name
String

The name of the string resource.

value
String

The string resource.

isResourceNotFound
Boolean

A flag that indicates if the resource is not found.

Applies to

LocalizedHtmlString(String, String, Boolean, Object[])

Source:
LocalizedHtmlString.cs
Source:
LocalizedHtmlString.cs
Source:
LocalizedHtmlString.cs

Creates an instance of LocalizedHtmlString.

public:
 LocalizedHtmlString(System::String ^ name, System::String ^ value, bool isResourceNotFound, ... cli::array <System::Object ^> ^ arguments);
public LocalizedHtmlString (string name, string value, bool isResourceNotFound, params object[] arguments);
new Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString : string * string * bool * obj[] -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
Public Sub New (name As String, value As String, isResourceNotFound As Boolean, ParamArray arguments As Object())

Parameters

name
String

The name of the string resource.

value
String

The string resource.

isResourceNotFound
Boolean

A flag that indicates if the resource is not found.

arguments
Object[]

The values to format the value with.

Applies to