Click or drag to resize
ResourceManagerGetResourceSet Method
Gets the ResourceSet for a particular culture.

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual ResourceSet GetResourceSet(
	CultureInfo culture,
	bool createIfNotExists,
	bool tryParents
)

Parameters

culture
Type: System.GlobalizationCultureInfo
The CultureInfo to look for.
createIfNotExists
Type: SystemBoolean
If true and if the ResourceSet has not been loaded yet, load it.
tryParents
Type: SystemBoolean
If the ResourceSet cannot be loaded, try parent CultureInfo objects to see if they exist.

Return Value

Type: ResourceSet
The specified ResourceSet.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe culture parameter is null.
MissingManifestResourceExceptiontryParents is true, no usable set of resources has been found, and there are no default culture resources.
See Also