HtmlLocalizerExtensions.GetHtml Méthode
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
GetHtml(IHtmlLocalizer, String) |
Obtient la LocalizedHtmlString ressource d’un nom spécifique. |
GetHtml(IHtmlLocalizer, String, Object[]) |
Obtient la LocalizedHtmlString ressource d’un nom spécifique. |
GetHtml(IHtmlLocalizer, String)
Obtient la LocalizedHtmlString ressource d’un nom spécifique.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ GetHtml(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer, System::String ^ name);
public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name);
static member GetHtml : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer * string -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
<Extension()>
Public Function GetHtml (htmlLocalizer As IHtmlLocalizer, name As String) As LocalizedHtmlString
Paramètres
- htmlLocalizer
- IHtmlLocalizer
L’IHtmlLocalizeropérateur
- name
- String
Clé à utiliser.
Retours
Ressource LocalizedHtmlString.
S’applique à
GetHtml(IHtmlLocalizer, String, Object[])
Obtient la LocalizedHtmlString ressource d’un nom spécifique.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ GetHtml(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer, System::String ^ name, ... cli::array <System::Object ^> ^ arguments);
public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name, params object[] arguments);
static member GetHtml : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer * string * obj[] -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
<Extension()>
Public Function GetHtml (htmlLocalizer As IHtmlLocalizer, name As String, ParamArray arguments As Object()) As LocalizedHtmlString
Paramètres
- htmlLocalizer
- IHtmlLocalizer
L’IHtmlLocalizeropérateur
- name
- String
Clé à utiliser.
- arguments
- Object[]
Valeurs à utiliser pour mettre en forme la chaîne.
Retours
Ressource LocalizedHtmlString.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour