Delen via


LocalizableResourceString Constructors

Definition

Overloads

LocalizableResourceString(String, ResourceManager, Type)

Creates a localizable resource string with no formatting arguments.

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

Creates a localizable resource string that may possibly be formatted differently depending on culture.

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

Creates a localizable resource string with no formatting arguments.

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)

Parameters

nameOfLocalizableResource
String

nameof the resource that needs to be localized.

resourceManager
ResourceManager

ResourceManager for the calling assembly.

resourceSource
Type

Type handling assembly's resource management. Typically, this is the static class generated for the resources file from which resources are accessed.

Applies to

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

Creates a localizable resource string that may possibly be formatted differently depending on culture.

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

Parameters

nameOfLocalizableResource
String

nameof the resource that needs to be localized.

resourceManager
ResourceManager

ResourceManager for the calling assembly.

resourceSource
Type

Type handling assembly's resource management. Typically, this is the static class generated for the resources file from which resources are accessed.

formatArguments
String[]

Optional arguments for formatting the localizable resource string.

Applies to