IStringLocalizer.Item[] Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Item[String] |
Obtient la ressource de chaîne avec le nom donné. |
| Item[String, Object[]] |
Obtient la ressource de chaîne avec le nom donné et mise en forme avec les arguments fournis. |
Item[String]
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
Obtient la ressource de chaîne avec le nom donné.
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
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[]]
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
- Source:
- IStringLocalizer.cs
Obtient la ressource de chaîne avec le nom donné et mise en forme avec les arguments fournis.
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
Paramètres
- name
- String
Nom de la ressource de chaîne.
- arguments
- Object[]
Valeurs à mettre en forme la chaîne avec.
Valeur de propriété
Ressource de chaîne mise en forme en tant que LocalizedString.