System.Resources.ResourceReader.Dispose Method

Releases all resources used by the current instance of the System.Resources.ResourceReader class.

Syntax

public void Dispose ()

Remarks

When you are finished using this instance of System.Resources.ResourceReader, call ResourceReader.Dispose to release all resources used by this instance. You should eliminate further references to this System.Resources.ResourceReader instance so that the garbage collector can reclaim the memory of the instance instead of keeping it alive for finalization.

ResourceReader.Dispose calls the private Dispose(Boolean) method, which contains the code to release managed and unmanaged resources. For more information, see Implementing a Dispose Method.

Requirements

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