ResourceManagerStringLocalizer.GetAllStrings メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetAllStrings(Boolean) |
すべてのリソース文字列を取得します。 |
GetAllStrings(Boolean, CultureInfo) |
指定されたカルチャのすべての文字列を返します。 |
GetAllStrings(Boolean)
すべてのリソース文字列を取得します。
public:
virtual System::Collections::Generic::IEnumerable<Microsoft::Extensions::Localization::LocalizedString ^> ^ GetAllStrings(bool includeParentCultures);
public virtual System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString> GetAllStrings (bool includeParentCultures);
abstract member GetAllStrings : bool -> seq<Microsoft.Extensions.Localization.LocalizedString>
override this.GetAllStrings : bool -> seq<Microsoft.Extensions.Localization.LocalizedString>
Public Overridable Function GetAllStrings (includeParentCultures As Boolean) As IEnumerable(Of LocalizedString)
パラメーター
- includeParentCultures
- Boolean
親カルチャの文字列を含める場合は true
。それ以外の場合は false
。
戻り値
すべてのリソース文字列が格納されている列挙型。
実装
適用対象
GetAllStrings(Boolean, CultureInfo)
指定されたカルチャのすべての文字列を返します。
protected:
System::Collections::Generic::IEnumerable<Microsoft::Extensions::Localization::LocalizedString ^> ^ GetAllStrings(bool includeParentCultures, System::Globalization::CultureInfo ^ culture);
protected System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString> GetAllStrings (bool includeParentCultures, System.Globalization.CultureInfo culture);
member this.GetAllStrings : bool * System.Globalization.CultureInfo -> seq<Microsoft.Extensions.Localization.LocalizedString>
Protected Iterator Function GetAllStrings (includeParentCultures As Boolean, culture As CultureInfo) As IEnumerable(Of LocalizedString)
パラメーター
- includeParentCultures
- Boolean
リソースの検索に親カルチャを含めるかどうか。
- culture
- CultureInfo
文字列を取得する対象の CultureInfo。
戻り値
文字列。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET