Share via


IHtmlLocalizer.Item[] プロパティ

定義

オーバーロード

Item[String]

指定された名前を持つ文字列リソースを取得します。

Item[String, Object[]]

指定された名前を持ち、指定された引数で書式設定された文字列リソースを取得します。 引数は HTML エンコードされます。

Item[String]

指定された名前を持つ文字列リソースを取得します。

public:
 property Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ default[System::String ^] { Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ get(System::String ^ name); };
public Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString this[string name] { get; }
member this.Item(string) : Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
Default Public ReadOnly Property Item(name As String) As LocalizedHtmlString

パラメーター

name
String

文字列リソースの名前。

プロパティ値

LocalizedHtmlString としての文字列リソース。

適用対象

Item[String, Object[]]

指定された名前を持ち、指定された引数で書式設定された文字列リソースを取得します。 引数は HTML エンコードされます。

public:
 property Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ default[System::String ^, cli::array <System::Object ^> ^] { Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ get(System::String ^ name, ... cli::array <System::Object ^> ^ arguments); };
public Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString this[string name, params object[] arguments] { get; }
member this.Item(string * obj[]) : Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
Default Public ReadOnly Property Item(name As String, ParamArray arguments As Object()) As LocalizedHtmlString

パラメーター

name
String

文字列リソースの名前。

arguments
Object[]

文字列の書式設定に使用する値。

プロパティ値

LocalizedHtmlString として書式設定された文字列リソース。

適用対象