ResourceManagerStringLocalizer.GetAllStrings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAllStrings(Boolean) |
Gets all the resource strings. |
GetAllStrings(Boolean, CultureInfo) |
Returns all strings in the specified culture. |
GetAllStrings(Boolean)
Gets all the resource strings.
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)
Parameters
- includeParentCultures
- Boolean
true
to include strings from parent cultures; false
otherwise.
Returns
An enumeration that contains all the resource strings.
Implements
Applies to
GetAllStrings(Boolean, CultureInfo)
Returns all strings in the specified culture.
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)
Parameters
- includeParentCultures
- Boolean
Whether to include parent cultures in the search for a resource.
- culture
- CultureInfo
The CultureInfo to get strings for.
Returns
The strings.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET