KGy SOFT

HybridResourceManagerGetResourceSet Method

KGy SOFT Core Libraries Help
Retrieves the resource set for a particular culture.

Namespace:  KGySoft.Resources
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public override ResourceSet GetResourceSet(
	CultureInfo culture,
	bool loadIfExists,
	bool tryParents
)

Parameters

culture
Type: System.GlobalizationCultureInfo
The culture whose resources are to be retrieved.
loadIfExists
Type: SystemBoolean
 to load the resource set, if it has not been loaded yet and the corresponding resource file exists; otherwise, .
tryParents
Type: SystemBoolean
 to use resource fallback to load an appropriate resource if the resource set cannot be found;  to bypass the resource fallback process.

Return Value

Type: ResourceSet
The resource set for the specified culture.
Exceptions

ExceptionCondition
ArgumentNullExceptionculture is .
ObjectDisposedExceptionThe HybridResourceManager is already disposed.
MissingManifestResourceExceptiontryParents and ThrowException are  and the resource of the neutral culture was not found.
See Also

Reference