HtmlLocalizerExtensions.GetHtml Methode

Definition

Überlädt

GetHtml(IHtmlLocalizer, String)

Ruft die LocalizedHtmlString Ressource für einen bestimmten Namen ab.

GetHtml(IHtmlLocalizer, String, Object[])

Ruft die LocalizedHtmlString Ressource für einen bestimmten Namen ab.

GetHtml(IHtmlLocalizer, String)

Quelle:
HtmlLocalizerExtensions.cs
Quelle:
HtmlLocalizerExtensions.cs
Quelle:
HtmlLocalizerExtensions.cs

Ruft die LocalizedHtmlString Ressource für einen bestimmten Namen ab.

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

Parameter

htmlLocalizer
IHtmlLocalizer

Die IHtmlLocalizer.

name
String

Der zu verwendende Schlüssel.

Gibt zurück

Die Ressource LocalizedHtmlString.

Gilt für:

GetHtml(IHtmlLocalizer, String, Object[])

Quelle:
HtmlLocalizerExtensions.cs
Quelle:
HtmlLocalizerExtensions.cs
Quelle:
HtmlLocalizerExtensions.cs

Ruft die LocalizedHtmlString Ressource für einen bestimmten Namen ab.

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

Parameter

htmlLocalizer
IHtmlLocalizer

Die IHtmlLocalizer.

name
String

Der zu verwendende Schlüssel.

arguments
Object[]

Die Werte, mit denen die Zeichenfolge formatiert werden soll.

Gibt zurück

Die Ressource LocalizedHtmlString.

Gilt für: