public static void EnsureResourcesGenerated()
Public Shared Sub EnsureResourcesGenerated
public: static void EnsureResourcesGenerated()
static member EnsureResourcesGenerated : unit -> unit
This method makes all centralized DynamicResourceManager instances in the current AppDomain (a DynamicResourceManager instance uses centralized settings when its UseLanguageSettings is ) load or generate the resource set for the current DisplayLanguage in memory. This makes possible that for the next auto save event (see also the DynamicResourceManagersAutoSave property) all such DynamicResourceManager instances will have a saved resource set for the current DisplayLanguage.
You can call also the SavePendingResources method to save the generated resource sets immediately.
When generating resources, the value of the DynamicResourceManagersAutoAppend is be respected.