LocalizedHtmlString 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
的值。