ResourceSet.Dispose Method ()


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

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

public void Dispose()

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


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

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top