다음을 통해 공유


HtmlLocalizerExtensions.GetHtml 메서드

정의

오버로드

GetHtml(IHtmlLocalizer, String)

LocalizedHtmlString 특정 이름의 리소스를 가져옵니다.

GetHtml(IHtmlLocalizer, String, Object[])

LocalizedHtmlString 특정 이름의 리소스를 가져옵니다.

GetHtml(IHtmlLocalizer, String)

Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs

LocalizedHtmlString 특정 이름의 리소스를 가져옵니다.

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

매개 변수

name
String

사용할 키입니다.

반환

LocalizedHtmlString 리소스입니다.

적용 대상

GetHtml(IHtmlLocalizer, String, Object[])

Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs

LocalizedHtmlString 특정 이름의 리소스를 가져옵니다.

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

매개 변수

name
String

사용할 키입니다.

arguments
Object[]

문자열을 서식 지정하는 데 사용할 값입니다.

반환

LocalizedHtmlString 리소스입니다.

적용 대상