Udostępnij za pośrednictwem


ResourceManagerStringLocalizer.Item[] Property

Definition

Overloads

Item[String]

Gets the string resource with the given name.

Item[String, Object[]]

Gets the string resource with the given name and formatted with the supplied arguments.

Item[String]

Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs

Gets the string resource with the given name.

public:
 virtual property Microsoft::Extensions::Localization::LocalizedString ^ default[System::String ^] { Microsoft::Extensions::Localization::LocalizedString ^ get(System::String ^ name); };
public virtual Microsoft.Extensions.Localization.LocalizedString this[string name] { get; }
member this.Item(string) : Microsoft.Extensions.Localization.LocalizedString
Default Public Overridable ReadOnly Property Item(name As String) As LocalizedString

Parameters

name
String

The name of the string resource.

Property Value

The string resource as a LocalizedString.

Implements

Applies to

Item[String, Object[]]

Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs
Source:
ResourceManagerStringLocalizer.cs

Gets the string resource with the given name and formatted with the supplied arguments.

public:
 virtual property Microsoft::Extensions::Localization::LocalizedString ^ default[System::String ^, cli::array <System::Object ^> ^] { Microsoft::Extensions::Localization::LocalizedString ^ get(System::String ^ name, ... cli::array <System::Object ^> ^ arguments); };
public virtual Microsoft.Extensions.Localization.LocalizedString this[string name, params object[] arguments] { get; }
member this.Item(string * obj[]) : Microsoft.Extensions.Localization.LocalizedString
Default Public Overridable ReadOnly Property Item(name As String, ParamArray arguments As Object()) As LocalizedString

Parameters

name
String

The name of the string resource.

arguments
Object[]

The values to format the string with.

Property Value

The formatted string resource as a LocalizedString.

Implements

Applies to