KGy SOFT

HybridResourceManagerReleaseAllResources Method

KGy SOFT Core Libraries Help
Tells the resource manager to call the ResourceSet.Close method on all ResourceSet objects and release all resources. All unsaved resources will be lost.

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

public override void ReleaseAllResources()

Implements

IExpandoResourceManagerReleaseAllResources
Exceptions

ExceptionCondition
ObjectDisposedExceptionThe HybridResourceManager is already disposed.
Remarks

Caution note Caution
By calling this method all of the unsaved changes will be lost.

By the IsModified property you can check whether there are unsaved changes.

To save the changes you can call the SaveAllResources method.

See Also

Reference