ResourceSet.Dispose Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Syntax

Public Sub Dispose
public void Dispose()

Implements

IDisposable..::.Dispose()()()

Remarks

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.

Note

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ResourceSet Class

Dispose Overload

System.Resources Namespace