LocalizedHtmlString 构造函数

定义

重载

LocalizedHtmlString(String, String)

创建 LocalizedHtmlString 的实例。

LocalizedHtmlString(String, String, Boolean)

创建 LocalizedHtmlString 的实例。

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

创建 LocalizedHtmlString 的实例。

LocalizedHtmlString(String, String)

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

创建 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)

参数

name
String

字符串资源的名称。

value
String

字符串资源。

适用于

LocalizedHtmlString(String, String, Boolean)

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

创建 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)

参数

name
String

字符串资源的名称。

value
String

字符串资源。

isResourceNotFound
Boolean

一个标志,指示是否找不到资源。

适用于

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

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

创建 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())

参数

name
String

字符串资源的名称。

value
String

字符串资源。

isResourceNotFound
Boolean

一个标志,指示是否找不到资源。

arguments
Object[]

要设置 格式 value 的值。

适用于