Export (0) Print
Expand All

ResourceManager.InternalGetResourceSet Method

Provides the implementation for finding a ResourceSet.

Namespace:  System.Resources
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
<SecuritySafeCriticalAttribute> _
Protected Overridable Function InternalGetResourceSet ( _
	culture As CultureInfo, _
	createIfNotExists As Boolean, _
	tryParents As Boolean _
) As ResourceSet

Parameters

culture
Type: System.Globalization.CultureInfo
The culture to look for.
createIfNotExists
Type: System.Boolean
true to load the ResourceSet, if it has not been loaded yet; otherwise, false.
tryParents
Type: System.Boolean
true to try parent CultureInfo objects to see if they exist if ResourceSet cannot be loaded; otherwise, false.

Return Value

Type: System.Resources.ResourceSet
The specified resource set.

ExceptionCondition
MissingManifestResourceException

The main assembly does not contain a .resources file and it is required to look up a resource.

ExecutionEngineException

There was an internal error in the runtime.

Notes to Inheritors

This method completes all the work necessary to find a ResourceSet, and can be recursive and reentrant. To avoid taking extra locks, it is not thread safe. GetResourceSet, GetString, and GetObject do all the necessary synchronization.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft