Note
For more details see the Auto Appending section at the description of the DynamicResourceManager class.
public override ResourceSet? GetResourceSet(
CultureInfo culture,
bool loadIfExists,
bool tryParents
)
Public Overrides Function GetResourceSet (
culture As CultureInfo,
loadIfExists As Boolean,
tryParents As Boolean
) As ResourceSet
public:
virtual ResourceSet^ GetResourceSet(
CultureInfo^ culture,
bool loadIfExists,
bool tryParents
) override
abstract GetResourceSet :
culture : CultureInfo *
loadIfExists : bool *
tryParents : bool -> ResourceSet
override GetResourceSet :
culture : CultureInfo *
loadIfExists : bool *
tryParents : bool -> ResourceSet
If AppendOnLoad option is enabled in AutoAppend property, then dynamic expansion of the resource sets may occur when calling this method.
Appending is applied only if both loadIfExists and tryParents are , though no new resource set will be created. To make possible to create a completely new resource set call the GetExpandoResourceSet method with CreateIfNotExists behavior instead.
If due to the current parameters no auto appending is performed during the call, then it will not happen also for successive calls for the same resource set until the ReleaseAllResources method is called.
ArgumentNullException | culture is . |
ObjectDisposedException | The HybridResourceManager is already disposed. |
MissingManifestResourceException | tryParents and ThrowException are and the resource of the neutral culture was not found. |