Releases all resources used by the System.Resources.ResXResourceWriter.
The ResXResourceWriter.Dispose method calls the ResXResourceWriter.Generate method, if necessary, before releasing managed and unmanaged system resources.
Calling ResXResourceWriter.Dispose allows the system resources used by the System.Resources.ResXResourceWriter to be reallocated for other purposes. For more information about ResXResourceWriter.Dispose, see Cleaning Up Unmanaged Resources.