System.Resources.ResXResourceWriter.Dispose Method

Releases all resources used by the System.Resources.ResXResourceWriter.

Syntax

public virtual void Dispose ()

Remarks

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.

Requirements

Namespace: System.Resources
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0