KGy SOFT

HybridResourceManagerInternalGetResourceSet Method

KGy SOFT Core Libraries Help
Provides the implementation for finding a resource set.

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

protected override ResourceSet InternalGetResourceSet(
	CultureInfo culture,
	bool loadIfExists,
	bool tryParents
)

Parameters

culture
Type: System.GlobalizationCultureInfo
The culture object to look for.
loadIfExists
Type: SystemBoolean
 to load the resource set, if it has not been loaded yet; otherwise, .
tryParents
Type: SystemBoolean
 to check parent CultureInfo objects if the resource set cannot be loaded; otherwise, .

Return Value

Type: ResourceSet
The specified resource set.
Exceptions

ExceptionCondition
ArgumentNullExceptionculture is .
MissingManifestResourceExceptionThe .resx file of the neutral culture was not found, while tryParents and ThrowException are both .
See Also

Reference