Method GetResourceSet
GetResourceSet(CultureInfo, bool, bool)
Looks up a set of resources for a particular CultureInfo. This is not useful for most users of the ResourceManager
- call GetString() or GetObject() instead. The parameters let you control whether the ResourceSet is created if it hasn't yet been loaded and if parent CultureInfos should be loaded as well for resource inheritance.
public static ResourceSet? GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents)
Parameters
culture
CultureInfocreateIfNotExists
booltryParents
bool
Returns
GetResourceSet(CultureInfo, bool, bool, Func<DictionaryEntry, bool>?)
Looks up a set of resources for a particular CultureInfo. This is not useful for most users of the ResourceManager
- call GetString() or GetObject() instead. The parameters let you control whether the ResourceSet is created if it hasn't yet been loaded and if parent CultureInfos should be loaded as well for resource inheritance. Allows filtering of resources.
public static ResourceSet? GetResourceSet(CultureInfo culture, bool createIfNotExists, bool tryParents, Func<DictionaryEntry, bool>? filter)
Parameters
culture
CultureInfocreateIfNotExists
booltryParents
boolfilter
Func<DictionaryEntry, bool>