LocalizableResourceString 构造函数

定义

重载

LocalizableResourceString(String, ResourceManager, Type)

创建无格式设置参数的可本地化资源字符串。

LocalizableResourceString(String, ResourceManager, Type, String[])

创建可能根据区域性以不同方式设置格式的可本地化资源字符串。

LocalizableResourceString(String, ResourceManager, Type)

Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs

创建无格式设置参数的可本地化资源字符串。

public:
 LocalizableResourceString(System::String ^ nameOfLocalizableResource, System::Resources::ResourceManager ^ resourceManager, Type ^ resourceSource);
public LocalizableResourceString (string nameOfLocalizableResource, System.Resources.ResourceManager resourceManager, Type resourceSource);
new Microsoft.CodeAnalysis.LocalizableResourceString : string * System.Resources.ResourceManager * Type -> Microsoft.CodeAnalysis.LocalizableResourceString
Public Sub New (nameOfLocalizableResource As String, resourceManager As ResourceManager, resourceSource As Type)

参数

nameOfLocalizableResource
String

需要本地化的资源的名称。

resourceManager
ResourceManager

ResourceManager 用于调用程序集。

resourceSource
Type

类型处理程序集的资源管理。 通常,这是为从中访问资源的资源文件生成的静态类。

适用于

LocalizableResourceString(String, ResourceManager, Type, String[])

Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs
Source:
LocalizableResourceString.cs

创建可能根据区域性以不同方式设置格式的可本地化资源字符串。

public:
 LocalizableResourceString(System::String ^ nameOfLocalizableResource, System::Resources::ResourceManager ^ resourceManager, Type ^ resourceSource, ... cli::array <System::String ^> ^ formatArguments);
public LocalizableResourceString (string nameOfLocalizableResource, System.Resources.ResourceManager resourceManager, Type resourceSource, params string[] formatArguments);
new Microsoft.CodeAnalysis.LocalizableResourceString : string * System.Resources.ResourceManager * Type * string[] -> Microsoft.CodeAnalysis.LocalizableResourceString
Public Sub New (nameOfLocalizableResource As String, resourceManager As ResourceManager, resourceSource As Type, ParamArray formatArguments As String())

参数

nameOfLocalizableResource
String

需要本地化的资源的名称。

resourceManager
ResourceManager

ResourceManager 用于调用程序集。

resourceSource
Type

类型处理程序集的资源管理。 通常,这是为从中访问资源的资源文件生成的静态类。

formatArguments
String[]

用于设置可本地化资源字符串格式的可选参数。

适用于