Share via


ResourceManagerWithCultureStringLocalizer.Item[] Propriété

Définition

Surcharges

Item[String]

Obtient la ressource de chaîne portant le nom indiqué.

Item[String, Object[]]

Obtient la ressource de chaîne portant le nom donné et mise en forme avec les arguments fournis.

Item[String]

Obtient la ressource de chaîne portant le nom indiqué.

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

Paramètres

name
String

Nom de la ressource de chaîne.

Valeur de propriété

Ressource de chaîne en tant que LocalizedString.

S’applique à

Item[String, Object[]]

Obtient la ressource de chaîne portant le nom donné et mise en forme avec les arguments fournis.

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 override Microsoft.Extensions.Localization.LocalizedString this[string name, params object[] arguments] { get; }
member this.Item(string * obj[]) : Microsoft.Extensions.Localization.LocalizedString
Default Public Overrides ReadOnly Property Item(name As String, ParamArray arguments As Object()) As LocalizedString

Paramètres

name
String

Nom de la ressource de chaîne.

arguments
Object[]

Valeurs à utiliser pour mettre en forme la chaîne.

Valeur de propriété

Ressource de chaîne mise en forme en tant que LocalizedString.

S’applique à