Del via


IStringLocalizer.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:
IStringLocalizer.cs
Source:
IStringLocalizer.cs
Source:
IStringLocalizer.cs
Source:
IStringLocalizer.cs
Source:
IStringLocalizer.cs

Gets the string resource with the given name.

public:
 property Microsoft::Extensions::Localization::LocalizedString ^ default[System::String ^] { Microsoft::Extensions::Localization::LocalizedString ^ get(System::String ^ name); };
public Microsoft.Extensions.Localization.LocalizedString this[string name] { get; }
member this.Item(string) : Microsoft.Extensions.Localization.LocalizedString
Default Public 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.

Applies to

Item[String, Object[]]

Source:
IStringLocalizer.cs
Source:
IStringLocalizer.cs
Source:
IStringLocalizer.cs
Source:
IStringLocalizer.cs
Source:
IStringLocalizer.cs

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

public:
 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 Microsoft.Extensions.Localization.LocalizedString this[string name, params object[] arguments] { get; }
member this.Item(string * obj[]) : Microsoft.Extensions.Localization.LocalizedString
Default Public 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.

Applies to