System.Resources.ResourceSet.Dispose Method

Disposes of the resources (other than memory) used by the current instance of System.Resources.ResourceSet.

Syntax

public void Dispose ()

Remarks

Call ResourceSet.Dispose(bool) when you are finished using the System.Resources.ResourceSet. The ResourceSet.Dispose(bool) method leaves the System.Resources.ResourceSet in an unusable state. After calling ResourceSet.Dispose(bool), you must release all references to the System.Resources.ResourceSet so the memory it was occupying can be reclaimed by garbage collection.

Note:

The current method is the implementation of IDisposable.Dispose. This implementation calls ResourceSet.Dispose(bool) (true).

Requirements

Namespace: System.Resources
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0