共用方式為


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

nameof 需要當地語系化的資源。

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

nameof 需要當地語系化的資源。

resourceManager
ResourceManager

ResourceManager 呼叫元件。

resourceSource
Type

類型處理元件的資源管理。 一般而言,這是針對從中存取資源的資源檔產生的靜態類別。

formatArguments
String[]

格式化可當地語系化資源字串的選擇性引數。

適用於